What is it, and how do I do it?
This is a discussion on 301 redirect within the General Discussion forums, part of the vBSEO SEO Plugin category; What is it, and how do I do it?...
What is it, and how do I do it?
301 Redirect - How to create Redirects
what do you want to do with them?
My forums: General Forums | Admin Talk (running xenforo)
I had my site critiqued and someone said I should do this
Critique my site please
ok, on the link I posted it would be this section
Redirect to www (htaccess redirect)
Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
Please REPLACE domain.com and www.newdomain.com with your actual domain name.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
My forums: General Forums | Admin Talk (running xenforo)
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
The webmaster tools is just a preference that only effects google. you should still do it in your htaccess as directed in that link. Only 1 webmaster area is needed.
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!