Welcome to WebmasterWorld Guest from 54.205.75.60

Forum Moderators: phranque

Message Too Old, No Replies

Inbound links - some to www.example.com and others to example.com?

   
3:30 am on Jun 11, 2008 (gmt 0)

5+ Year Member



I was checking the inbound links on my site the other day and for whatever reason I punched in the domain two different ways. Once, with www.example.com and the second time as example.com.

One way it came up with around 250 links, the other came up with around 850!

Why the great discrepancy, and what can I do to get everything on the same page? Am I losing PR because these links are split?

[edited by: phranque at 7:46 am (utc) on June 12, 2008]
[edit reason] examplified urls [/edit]

9:08 am on Jun 11, 2008 (gmt 0)

5+ Year Member



They are treated as 2 seperate addresses. I would login to your host and put a redirect so it's all under one address (the one with the most links)
12:03 pm on Jun 11, 2008 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



Put this in your .htaccess file.

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

[edited by: phranque at 7:46 am (utc) on June 12, 2008]
[edit reason] examplified urls [/edit]

2:54 pm on Jun 11, 2008 (gmt 0)

5+ Year Member



Thanks guys. I found out it is the example.com that has more links than the www.example.com. Does it matter which one I centralize around? Also, by doing the redirect am I still making use of the inbound links, for SEO purposes?

IE - I know if someone clicks on the link it will come to me (still does right now anyways) but will the SEs add those two batches of links together for me? I kind of doubt it...?

[edited by: phranque at 7:48 am (utc) on June 12, 2008]
[edit reason] examplified urls [/edit]

3:14 pm on Jun 11, 2008 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



If you have the 301 redirect which it is then yes, the SE's will add them together.

The standard leans toward the www. in front, but I believe either way is fine.

4:11 pm on Jun 11, 2008 (gmt 0)

5+ Year Member



Yeah, I would kind of like to centralize around the www as that seems to be what most people are familiar with. I guess if I put a redirect on there it doesn't really matter which one I choose, right? It's not like it has to work any harder if there are more or less links involved.
7:52 am on Jun 12, 2008 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], iMarketer!
6:34 pm on Jun 12, 2008 (gmt 0)

5+ Year Member



Hmm... okay, so the site is a blog, on wordpress, and I'm using the Redirection plugin... it basically overwrites my htaccess file. So I put in a redirect from http://example.com to http://www.example.com and then when I try to load the site Firefox gives me this great error saying that the server is creating a loop....

any ideas why that is?

[edited by: phranque at 8:09 am (utc) on June 13, 2008]
[edit reason] examplified urls [/edit]

11:59 pm on Jun 12, 2008 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



The order of the instructions in .htaccess is important.

You also need to make sure there is no unwanted interaction with any of your existing redirects and rewrites.