Forum Moderators: martinibuster

Message Too Old, No Replies

Adsense with mod-rewrite php

         

OldSkoO1

7:20 pm on May 10, 2005 (gmt 0)



Im running a site that is written in php that serves up pages on a 404 mod-rewrite style coding engine.

The url structure emulates static files and content is served from the db and replaced into a html template. Problem is adsense is only populating 1 skyscrapper bar. Its actually the first one it finds.

I have a leader board at the top and a links one too, these both come after the skyscraper. On all dynamic pages only that first 1 shows. However, if i copy the html generated output into a html file and run that, all ads show up no problems.

I'm stumpted. Is there anything i need to cover or check to sort this out? Google is obviously seeing a different between the dynamic html and copy that output into an actual html file.

Crazy! :s

Any ideas?

arrowman

10:40 am on May 11, 2005 (gmt 0)

10+ Year Member



I'm running a site that is written in php that serves up pages on a 404 mod-rewrite style coding engine.

I'm not sure if we're talking about the same thing, but I've seen sites that actually return a 404 HTTP status code ("Not found") with every regular page. That would obviously confuse bots.

bloke in a box

4:07 pm on May 11, 2005 (gmt 0)

10+ Year Member



^^ is correct

I run a similar method of 404 mod-rewrite style coding, you need to ensure that PHP serves a 200 OK header for every non-404 page that is displayed.