The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Constant URL Redirect from Root Folder to Forums Folder
Hello.
I'm recently new to vBulletin, but love it so far! My issue is this: When I installed vBulletin, they recommended that you keep your vBulletin installation within a Forums folder, instead of slamming it all directly into your root folder. I'm fine with this as one day I hope to build a site around the forums, however at this time, the forums are all that I have up and running, which probably will be the case for the next year or so. My website is: http://NashvilleChristian.com however since I currently have nothing other than the forums, people must currently type in: http://NashvilleChristian.com/Forums. I'm looking for some sort of script or URL redirect that I can put in my root folder so that all people will have to type in is NashvilleChristian.com and they will go directly to my forums folder at NashvilleChristian.com/Forums. This seems like it should be simple, but I'm unsure how to do it. Can anybody help me with this? Thanks a bunch! Jeff |
#2
|
|||
|
|||
Look for redirects in your cpanel (If you have cpanel of course )
|
#3
|
||||
|
||||
I thought of that, but I was concered that if I do that, then I'll have problems if I store any pages or elements, images, files, mp3s, etc... outside of the forums folder in the root. I want to still be able to use the root folder for storage, but I don't have an active index page in there to greet viewers.
I don't want to do a welcome page where they are instructed to Click Here to enter the forums. I just want them to be redirected to my forums, smooth and automatic. Thanks for the suggestion! Jeff |
#4
|
|||
|
|||
Adding a redirect will not affect the other files
|
#5
|
||||
|
||||
I use a PHP Redirect. Just stick the following in an index.php file in your root:
Code:
<?php header("HTTP/1.1 301 Moved Permanently"); header("Location: http://yoursite.com/forum/"); ?> |
#6
|
||||
|
||||
Kirk,
That's just what I needed! Thanks a lot! Jeff |
#7
|
||||
|
||||
No problem.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|