Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Transfer PR from http://mysite.com to http://www.mysite.com?

         

Eurotrader

2:33 pm on Dec 11, 2005 (gmt 0)

10+ Year Member


On my site, both http://mysite.com and http://www.mysite.com have a PR of 5. It seems Google views these as 2 seperate pages.

I have 2 questions:

1) How can I redirect my pagerank from http://mysite.com to http://www.mysite.com?

2) Will this redirection/consolidation increase the PR of http://www.mysite.com?

Thanks!

Eurotrader

6:26 pm on Dec 12, 2005 (gmt 0)

10+ Year Member



I heard there is a way to do this with .htaccess? How can I go about this?

Thanks

rainborick

6:38 pm on Dec 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes, you can and definitely should institute a redirect for all requests for the non-www version of your URL. The .htaccess code is as follows:

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

This will eventually merge the results of both the indexing of your pages and the links/PR information that Google maintains for your site.

Pico_Train

6:53 pm on Dec 12, 2005 (gmt 0)

10+ Year Member



Nevermind, my post was not suitable for your purposes.

Lip zipped...