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.

Difference between index.php and root directory

Discussion in 'Placement / Reviews / Examples' started by datapencil, May 18, 2006.

  1. #1
    Hello,

    I've been running adsense on our site for a few months. Just a few days ago adsense started acting funny on the main page. It is not appearing on the root directory page, but it is showing on the index.php file (I thought they were both the same thing).

    Here's what is happening:

    
    http://www.alternative-energy-news.info/ - [B]Public service ads/no ads[/B]
    
    http://www.alternative-energy-news.info/index.php - [B]Relevant ads appear fine[/B]
    Code (markup):
    Obviously all links to the site (including Google results) go to the root directory.

    Here are the contents of the .htaccess (used to redirect an old error):

    redirect 301 /links2.php http://www.alternative-energy-news.info/links.php
    Code (markup):
    Any suggestions would be fantastic - thank you!
     
    datapencil, May 18, 2006 IP