Domain Pagerank Question

Status
Not open for further replies.

dr00t

Visionary
Jan 8, 2007
92
1
0
Carmel, IN
I have a domain that has a high pagerank at the www.insertdomain.com address.

However, the insertdomain.com address (without "www") has a lower pagerank.

Does anyone know what I can do to make them both have the same pagerank, preferably the higher one located at the www.insertdomain.com address?

Please advise. Thanks in advance.
 


You can set up a MOD REWRITE to make all of your urls stick with the www, or without. Eventually they will all make love together. Let the children rejoice.
 
LOL, yeah... I did it once before where I had this problem... I just don't remember how. My linux server is setup to support/enabled mod rewrite.. but would you mind telling me how to do this?
 
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.
 
Status
Not open for further replies.