301 Redirects For SEO Purpose for Proxies
301 redirects forwarding the http:// to the http://www is a good idea with any site, but they can be especially important with proxies. This will forward the non-www (http://proxystash.org) version of your site to the www version (http://proxystash.org).
Whether you are building your proxy with long-term goals or with the plan of selling in a few months, this redirection will help you do several things:
* Remove the issue of duplicate pages, as both pages will be exactly the same
* Spread the power of all that ‘link love’ to one place
* Pass PR more easily
So, how do you do it?
All you need to do is construct a simple .htaccess file with this code in your webhosting filemanager, or add this code to your existing .htaccess:
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
Remember to change domain.com with your actual domain like this
rewritecond %{http_host} ^proxystash.org [nc]
rewriterule ^(.*)$ http://proxystash.org/$1 [r=301,nc]
Save the file as .htaccess and upload the file to your site’s root. That’s it, you’re done!
March 12th, 2009 at 7:56 pm
I do this on all of my sites, not just my proxies. It’s also good to 301 redirect error pages to the home page, so that bots don’t get lost.
March 13th, 2009 at 9:19 am
Exactly, 301 redirects are very good.