1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Not getting ads with www dot domain

Discussion in 'Placement / Reviews / Examples' started by wmburg, Jun 8, 2006.

  1. #1
    In the last week or so I haven't been getting ads on my main page. I just noticed that if I put www. domain.com I don't get ads, and if I do not use www. I get ads. Wtf?
     
    wmburg, Jun 8, 2006 IP
  2. Joshman1204

    Joshman1204 Peon

    Messages:
    173
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I am kinda confused here but it could be your browser ... I was having a problem viewing ads with my main browser which is bon echo (firefox devel code) so I loaded my site in IE and it worked fine.
     
    Joshman1204, Jun 8, 2006 IP
  3. wmburg

    wmburg Active Member

    Messages:
    300
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Firefox, but the same thing happens with IE.
     
    wmburg, Jun 8, 2006 IP
  4. brian394

    brian394 Well-Known Member

    Messages:
    226
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    108
    #4
    My best guess would be that Google sees them as 2 different sites. if you're not getting ads on www.domain.com it may mean that Adsense has not yet indexed this site in its database and doesn't know what ads to show for it. Your best bet would probably be to choose one format (either www.domain.com or just domain.com) and stick with it. You can force your users to a specific format by modifying your .htaccess file. If you want all your users who type in www to be forwarded to just domain.com you can add this...

    
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
    RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]
    
    Code (markup):
    or if you want all your users who type in domain.com to be forwarded to www.domain.com you can type in this...

    
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC]
    RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
    
    Code (markup):
     
    brian394, Jun 9, 2006 IP