![]() |
.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 |
Quote:
Code:
ReWriteEngine On Code:
RewriteEngine On |
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!! |
Quote:
:D;) |
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 |
All times are GMT. The time now is 11:48 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|