Handy PageRank Tip

Did you know that Google ranks http://www.site.com differently to http://site.com? Anoying huh. People could be linking to your site using either link which could screw up your chances of a good PageRank.

If you’re using Apache, you can throw the below code in your website’s .htaccess file and have everything from www.site.com redirected to http://site.com – therefore eliminating any confusion and two pageranks.


RewriteEngine On
RewriteCond %{HTTP_HOST} !^jigsawboys.com$ [NC]
RewriteRule (.*) http://jigsawboys.com/$1 [R=301,L]

Props to Scrivs from Workboxers for providing the code.

Did you like this? Share it:

No related posts.



One Response to “Handy PageRank Tip”

  1. Jonesy says:

    Not being a big fan of rewrite rules, I prefer putting this in your virtualhost section:

    Redirect permanent / http://jigsawboys.com/

    Takes load off the server too, as rewrite rules take more processing power.
    I would use your method though if I didn’t have access to the apache conf.

Leave a Reply

You must be logged in to post a comment.