View Full Version : How Do I.. (Vbulletin Question)
steven
02-03-2001, 05:45 AM
I run the same forum software as this site does and I was wondering how I could make my forums have the following url
forums.mydomain.com
I know that I need to create a subdomain, and I have, however when I type in forums.mydomain.com it redirects to forums.mydomain.com/index.php
But I don't want it to say index.php, as I just want the forums.mydomain.com. Do I need a .htaccess file, or what can I do?
This site does what I would like to do. The forums are knowledgebase.hostrocket.com instead of knowledgebase.hostrocket.com/index.php
Thanks in advance for the help
Steven
petesmc
02-03-2001, 09:12 AM
Try knowledgebase.hostroket.com/index.php it is exactly the same. But i see what your saying. vB is a bit mucked as when HR had the forum problem if you aded /index.php to the URL you got into the forum but not if you didn't add it.
I'm not sure what you would do in this situation though
JohnM
02-03-2001, 12:29 PM
It REDIRCTS to index.php?!
petesmc
02-03-2001, 12:31 PM
Its weird i know.....
JordanTLClive
02-03-2001, 12:55 PM
Do a search for htaccess on the board. You can use it to specify index files. That is how it is done on this board. The reason its not automatic is PHP is not considered automatically by apache to be an index... I believe the only choices are index.htm index.html and index.shtml for default index files. Anything else you have to add via htaccess.
petesmc
02-03-2001, 12:58 PM
and index.php..
anyway: You can visit my little tutorial on htaccess:
http://www.codingclick.com/article.php?aid=3
steven
02-03-2001, 07:00 PM
Sorry for my ignorance, but which .htaccess file would I use to accomplish my task?
petesmc
02-03-2001, 07:05 PM
What do you mean, Which htaccess file?
steven
02-03-2001, 07:17 PM
You guys said I need a .htaccess file to accomplish what I want to do. I'm wondering which type of .htaccess file I need? Like is it a start file htaccess code or a redirection? In other words what exactly did HR do in order for their forums to show up as knowledgebase.hostrocket.com?
petesmc
02-03-2001, 07:21 PM
They created a subdomain, and put there files inside there:
knowledgebase (that is their folder)
It automatically goes to index.php and they don't use htaccess.
steven
02-03-2001, 07:28 PM
Thanks for your replies pete, as it works perfectly now. :) BTW Your tutorials are very good.
petesmc
02-03-2001, 07:31 PM
By any chance are you just showing the bad dealings, link becasue its a good site, or because you run it"?
Thanx for that comment. Greatly appreciated
Pete
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.