4 Sep

WWW and Non-WWW Pagerank difference For same url

Filed under: Hacks No Responses

Well i used to have the problem in it the ranking of one form which might be any www or without www to be of better page rank then the other one.IF it happens to you then the simple solution is to redirect the url with 301

Here is how to do it

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.

Don’t forget to check it

You can Test your redirection with Search Engine Friendly Redirect Checker

http://www.webconfs.com/redirect-check.php

Popularity: 1% [?]

If you enjoyed this post, make sure you subscribe to my RSS feed!

Related posts:

  1. How to transfer Wordpress from subdirectory to root?
  2. sh404SEF 404 Component Not found Solved
  3. How to check pageRank of an complete website through sitemaps
  4. indexing in search engines
  5. Changing Link baiting tactics
  6. PageRank Prediction Tool
  7. Bing.com Seo
  8. What google have a say on “Fake Pagerank Issue”
  9. Latest Joomla Vulnerability News
  10. Check malware online
  11. How To Automatically Resize Images In Wordpress Blogs
  12. Google Removed My Website (Google Search Quality)
  13. How to create best Robots.txt For Wordpress
  14. Automatic turnoff MacBooks, iMacs, Linux or Unix computers
  15. Best Seo Plugins for Wordpress

Written on September 4 2009 and is filed under Hacks. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply