The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
.htaccess-redirecting a subforum question
Hey all, I hope someone can help me with this..
I just removed a sub domain from a site and I want to redirect the sub domain's path to the root directory.... This is what I came up with but it doesn't seem to be working. What am I missing? RewriteCond %{HTTP_HOST} subdomain.mysite.com RewriteCond %{REQUEST_URI} !mysite.com/ RewriteRule ^(.*)$ mysite.com/$1 [L] Thank you guys so much, Rich |
#2
|
|||
|
|||
Quote:
Code:
ReWriteEngine On Code:
RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?subdomain.mysite.com$ [NC] RewriteRule ^same/(.*) http://$1.mysite.com[R=301,L] |
#3
|
||||
|
||||
Thanks,
yeah, I actually already have that.. sorry I didn't show it here but I will try everything else you changed.. Thank you so much Mr UK!! |
#4
|
|||
|
|||
Quote:
|
#5
|
||||
|
||||
Thanks--It didn't work actually so I created a simple page with a meta redirect for now. I believe it probably is because of other items on the htaccess file. I will post them when I have a chance. I appreciate your advice and help.
Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|