Forum Moderators: martinibuster

Message Too Old, No Replies

Duplicate domains listed

         

Ironside

11:58 am on Apr 20, 2015 (gmt 0)

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



Sorry if this is a rather elementary question, however when I'm looking at my AdSense account, in particular "top sites" I often have my main website listed as www.domain.com, and also domain.com. It must've been the way I set it up originally. Not quite sure why it's doing it. I normally see the domain with the www in front of it. If anyone can shed some light on this, I can make some changes so I just see the one domain listed, instead of both of them.

not2easy

1:03 pm on Apr 20, 2015 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



If you type in your domain without the www does it take you to the www version? If it does, it may just be a legacy problem of omitting it on some form somewhere. If it does not add www, you need a canonical rewrite to ensure there is only one URL for your home page. The Apache forum here has examples and information in the Charter and Library.

RedBar

3:15 pm on Apr 20, 2015 (gmt 0)

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



Do you have access to your .htaccess file?

Ironside

3:45 pm on Apr 20, 2015 (gmt 0)

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



If I type in my domain without "www"(This is into the address bar) then I automatically get redirected straight to the website, but the www appears after I do this.

Yes, I have access to my .htaccess

Thanks guys