Hello, I'm new here. Hi everyone I want to use google adsense on dynamic php pages... But all text on those pages comes from a database. For example the page viewpoet.php viewpoet.php?id=8 page title: Blue flowers text on page contains words like: blue flowers, roses, violets, etx... viewpoet.php?id=10 page title: Fast Ferrari cars text on page contains words like: cars, red cars, fast ferrarri's, etc... And so on... Can google adsense handle this kind of pages in a way that it shows relevant ads on each php page? Like flower ads on the viewpoet.php?id=8 page and car adds on the viewpoet.php?id=10 page ? Thanks in advance
Google AdSense really doesn't care how pages are generated, as long as the same URL usually genarates the same general content, AdSense will be able to display relevant ads.
If there is a link to viewpoet.php?id=10 then google bot will follow it and make the Adsense that way. If there's no link to it, you'll just get ads general to your website or PSA.
For displaying ads, Google doesn't care what the URL looks like. It checks whatever content it can find (place those keywords!) on the page at hand and finds ads relevant to that. Doesn't matter if it's index.php?c=1 or index.php?c=2176 or whatever.
Hi, Thanx for the replies. So google actually scans each generated php page all the time? I have 100 different id's under poet.php. All with completely different subjects. Each poet is about a different subject. Also new ones are added all the time... This is not a problem for google ?
Hi, You can make your site more search engine friendly using Apache mod_reqrite techniques. Then you can use URLs lile /poet/10 instead of viewpoet?id=10 . You will ned to know some stuff about regular expressions to do this. See following URLs: http://httpd.apache.org/docs/2.0/misc/rewriteguide.html http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html Google for mod_rewrite or url rewriting to get more info on this. Hope that was helpful, Thomas