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.

Ad's not displaying when...

Discussion in 'Placement / Reviews / Examples' started by envoy, Oct 3, 2005.

  1. #1
    Ad's are not displaying on my site for some reason when I goto the site without the WWW. The ad on the left side shows up fine, but the one right at the top labelled as sponsored links, does not show. For example, go here:
    http://smcars.net/forums/index.php

    The ad under sponsored links does not show up (or for me anyways) but if you go here:
    http://www.smcars.net/forums/index.php

    The ad's show up just fine.

    Any ideas on how to solve this problem? Any way to force everyone who doesn't include the www to be redirected to the url with the www?

    Thanks.
     
    envoy, Oct 3, 2005 IP
  2. iconrate

    iconrate Well-Known Member

    Messages:
    457
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    138
    #2
    Use mod_rewrite

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^site.com
    RewriteRule (.*) http://www.site.com/$1 [R=301,L]
     
    iconrate, Oct 3, 2005 IP
  3. envoy

    envoy Active Member

    Messages:
    149
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Thanks. Works fine now. I still would like to know why the ad's do not appear when someone went to just http://smcars.net/forums/
     
    envoy, Oct 3, 2005 IP
  4. randymorin

    randymorin Peon

    Messages:
    387
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Google doesn't assume they are the same page. They may have indexed the one and not the other.
     
    randymorin, Oct 3, 2005 IP