The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
A little help with .htaccess
I know this isn't PHP or MySql, but didn't see a better place to put it, and hope someone can help.
I recently moved my forums to the root web level. They used to be in a subdir called forums (http://www.jjr512.com/forums), then I made a subdomain for that subdir so that http://forums.jjr512.com also worked. But now it's just http://www.jjr512.com. Is there something I can put in my .htaccess file so that any requests for something in the /forums subdir gets redirected to the same file in the root dir? In other words, to redirect http://forums.jjr512.com OR http://www.jjr512.com/forums to http://www.jjr512.com. |
#2
|
||||
|
||||
Well you could stick an index.php in the sub dir and put this code in it
PHP Code:
|
#3
|
||||
|
||||
|
#4
|
||||
|
||||
What I'm trying to do is redirect http://forums.jjr512.com to http://www.jjr512.com.
None of the redirect methods I've seen described for use in .htaccess seem to work. I've tried: Redirect forums.jjr512.com/ http://www.jjr512.com/ and Redirect http://forums.jjr512.com/ http://www.jjr512.com/ Neither of these works. |
#5
|
||||
|
||||
Try this:
Redirect http://forums.jjr512.com http://www.jjr512.com put this in your .htaccess file and PUT THIS file in your root dir. Or try this: Redirect / http://www.jjr512.com put this in your .htaccess file and PUT THIS file in your forums.jjr512.com dir. It should work. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|