View Full Version : vBulletin redirect to URL???
itsalltropical
12-13-2006, 04:49 PM
OK, thanks to the help last night I have vBulletin installed. Now the only way I can get to it is domainname.com/forums How do I set it up do just domainname.com brings up the forum? I'm OK while I am customizing it but eventually I would like the domainname.com to go directly to the forum.
Less than 24 hours with sleep I am a new FutureQuest, vBulletin customer and I have a running forum!!!!
IMO, the best way would be to simply install the vbulletin files in your /www/ directory instead of under your /www/forums/ directory. (you would need to move the files and change the vbulletin path option)
You could use a symlink (ln -s) or rewrite, but it's probably easier to just move the files and change the config option to the way you want it.
itsalltropical
12-13-2006, 08:45 PM
IMO, the best way would be to simply install the vbulletin files in your /www/ directory instead of under your /www/forums/ directory. (you would need to move the files and change the vbulletin path option)
You could use a symlink (ln -s) or rewrite, but it's probably easier to just move the files and change the config option to the way you want it.
Hey, Jeff you helped me last night during my install. Thanks. I am really a beginner so "simply install" sounds kind of overwhelming to me right now. Is there any other way? I have read about IRO or IRM options in FutureQuest. Just to net it out I guess I would like domainname.com AND domainname.com/forums/ to point to my vbulletin app which is in the forums folder under www As I gain more experience I may want to separate them so these two point to different apps.
Guess I want to follow vBulletin instructions as closely as possible while I am figuring out this stuff so if possible I'd like to keep it under forums under www. I will also be investigating setting up a vTest environment for vBulletin so I'd like to keep my directories by the book. COBOL/mainframe/IMS stuff looks easy compared to this web stuff right now. I know I'll feel differently in a short time!
So do you have a Plan B for me ... a novice?
johnfl68
12-13-2006, 09:22 PM
You could always use a meta refresh in the "head" section of your index.html page under www:
<meta http-equiv="refresh" content="0;url=http://domain.com/forums/">
John
kitchin
12-13-2006, 09:26 PM
In your www folder, put this file, and call it "index.php":
<?php // this must be the first line in the file
header('Location: http://domainname.com/forums/');
exit;
?>
Then delete any other index.* file, such as index.html.
That is the easiest way to do a forward.
Agreed - that's probably the best and by far the easiest, and doesn't complicate vbulletin's cookie path setting.
--just like to throw out more complicated solutions to keep you on your toes ;)
itsalltropical
12-13-2006, 09:56 PM
This is good ... Jeff you are keeping me on my toes. I don't have an index.html or an index.php. I do have an index.fquest. I left the name index.fquest and made the changes and it works....Thanks a bunch from a newbie.
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.