View Full Version : PR , with www and with out www...
Superior
Oct 28th 2005, 5:42 am
i have a site. and it advertesd with out www. and it got PR 5,
not it is PR 5 without "www" and PR 0 with "www"
please tell me that is it any difference in it.
and wht u say its value. with "www" and with out www.
yfs1
Oct 28th 2005, 5:43 am
Those are considered 2 different sites by Google so they can have two different PRs
You can do a 301 Permanent to join them in Googles eyes
In your example, the majority of your links point to example.com rather then www.example.com
Old Welsh Guy
Oct 28th 2005, 6:05 am
Here is a mod rewrite to accomplish the task.
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourdomain\.com
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=permanent,L]
theblade24
Oct 28th 2005, 6:33 am
I'm using this with [NC] at the end. Does that make a difference?
RewriteCond %{HTTP_HOST} ^yourdomain\.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]
Right now in the backlink tracking tool my yourdomain.com has lost it's pagerank to 0 when it was 5 like my www site. Is google not passing pagerank thru 301's anymore?
Ideas?
Here is a mod rewrite to accomplish the task.
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourdomain\.com
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=permanent,L]
Old Welsh Guy
Oct 28th 2005, 6:37 am
When people say you should use a 301, don't think it is a majic bullet, as it isn't, not instantly anyhow. The problem is that www.domain.com is where the PR goes, then if you have index.html index.php on the server, which one gets the PR? keep in mind that it will default to .html or .htm before it will default to .php .asp etc (by default setup on most servers of course).
This is one of the reasons you should hard code to whatever it is you are using. (if PR floats your boat of course) :D
Although the redirect match is instant, it can take many months for the PR to catch up.
theblade24
Oct 28th 2005, 6:42 am
Well for years now both have had PR 5 with this setup. All of the sudden no www is 0 and www remains at 5. So something has changed.....
Noes the [NC] or 301 or Permanent make a difference? Not sure why it is not passing through anymore.....at least that's what DP backlinks page shows.
When people say you should use a 301, don't think it is a majic bullet, as it isn't, not instantly anyhow. The problem is that www.domain.com is where the PR goes, then if you have index.html index.php on the server, which one gets the PR? keep in mind that it will default to .html or .htm before it will default to .php .asp etc (by default setup on most servers of course).
This is one of the reasons you should hard code to whatever it is you are using. (if PR floats your boat of course) :D
Although the redirect match is instant, it can take many months for the PR to catch up.
Dread
Oct 28th 2005, 6:44 am
Personally i use a php method of forcing the use of the www. on my websites:
<?
if($_SERVER['HTTP_HOST'] == "dreadlabs.com"){
header("Location: http://www.dreadlabs.com/");
}
?>
Im not sure if thats a 301, but it works. Just put it at the very top of your php files.
theblade24
Oct 28th 2005, 6:56 am
Not using php.
Personally i use a php method of forcing the use of the www. on my websites:
<?
if($_SERVER['HTTP_HOST'] == "dreadlabs.com"){
header("Location: http://www.dreadlabs.com/");
}
?>
Im not sure if thats a 301, but it works. Just put it at the very top of your php files.
Dread
Oct 28th 2005, 6:58 am
What do you mean "not using php", does that mean YOUR not using php, or thats not a 301, or what?
I was merely pointing out that thats the way i do it.
Not using php.
theblade24
Oct 28th 2005, 7:03 am
Sorry.....I'm not using PHP on my site.
What do you mean "not using php", does that mean YOUR not using php, or thats not a 301, or what?
I was merely pointing out that thats the way i do it.
Old Welsh Guy
Oct 28th 2005, 7:58 am
One of the reasons for the change to your PR might be a server setup. Keep in mind that www.domain.com is an alias, if your hosting setup is to alias them the same then fine, if they are not aliased the same then disparity in PR can result.
theblade24
Oct 28th 2005, 8:08 am
I am on a vps, what do I need to tell my host to make sure that yourdomain.com and www.yourdomain.com are aliased the same?
Perhaps they changed something moving me to a new box or something and it needs to be changed back.
Can you explain to me what I need to ask them please?
One of the reasons for the change to your PR might be a server setup. Keep in mind that www.domain.com is an alias, if your hosting setup is to alias them the same then fine, if they are not aliased the same then disparity in PR can result.
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.