This is a discussion on 301 Redirecting Domains within the General Discussion forums, part of the vBulletin SEO Discussion category; Originally Posted by Oleg Ignatiuk Update - rewrite rules for ISAPI_Rewrite (IIS): Code: RewriteCond Host: yourdomain.com RewriteRule ^(.*)$ http://www.yourdomain.com$1 [L,R=301] ...
Hello Ged,
what is an example of image URL that is not loaded after that?
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
There's one small problem that i'm facing right now. I have my forum on my root (http:www.vbseo.com/index.php not http:www.vbseo.com/forums/index.php)
and i change the ".htaccess" from
toCode:#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
However when i typed in "vbseo.com" into my browser... it stay the same "vbseo.com" What do i need to do so when i type in "vbseo.com" it become www.vbseo.com?Code:#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com #RewriteRule (.*) http://www.yourdomain.com/$1 [L,R=301]
Thanks
You rewrite rules are commented out, you should remove leading "#" characters in both lines.
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Applying it the the forums htaccess I get directed to this
http://www.domain.com/forums//home/domain/public_html/cheats
when I try going to domain.com/forums
Any ideas?
Please check this thread: Add www to forum url with no trailing slash
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
So let me get this correct, if I want to redirect everyone from the old URL to the new URL then I use this:
and I put this in my forums .htaccess ?Code:RewriteCond %{HTTP_HOST} !^www.xleagues.net/forum/ RewriteRule (.*) http://forum.xleagues.net/$1 [R=301,L]
It should be:
Code:RewriteCond %{HTTP_HOST} !^forum\.xleagues\.net RewriteRule (.*) http://forum.xleagues.net/$1 [R=301,L]
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Thank you it's worked a treat
No changes are required - [RP] means "Redirect Permanently", which corresponds to 301-redirect code.
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Thanks Oleg
I'm having login issues that I believe are related to vBSEO. I've made the following changes to my .htaccess and I'm getting an error, "The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies."
BTW, I recently switched servers and that's when the login issue occured. Been dealing with this issue for 5 days, so any help is greatly appreciated.Code:RewriteCond %{HTTP_HOST} !^www\.mysite\.com/forum RewriteRule (.*) http://www.mysite.com/forum/$1 [L,R=301]
TIA.
It should be:
Code:RewriteCond %{HTTP_HOST} !^www\.mysite\.com RewriteRule (.*) http://www.mysite.com/forum/$1 [L,R=301]
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!