homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & martinibuster

Google AdSense Forum

Adsense on dynamic page
Ads not showing in .pl pages

10+ Year Member

Msg#: 4204377 posted 7:09 pm on Sep 20, 2010 (gmt 0)

I have a site doing well on Adsense. All pages
are static with an .html extension, no fancy thing.

I want to add a dynamic part, but there is no
paying ads on the new section. The section is
relying on a perl script and all pages have
an .pl extension.

Just the no-profit ads are display in the new section.

When I change the extension and put an .html
extension, just saving the same page, but with
a static extension, the paying ads are display.

I check around others site, and can't find any
dynamic site using the simple .pl extension.

It's possible to use the .pl or I must look in
another direction.



WebmasterWorld Administrator lifeinasia us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

Msg#: 4204377 posted 7:21 pm on Sep 20, 2010 (gmt 0)

Google apparently knows and loves the .html page. However, it knows nothing about the .pl page. So until it comes and sees what the pages is all about, targeting will likely be off (or non-existent).

If you switch all your pages from .html to .pl, it's likely that you will take a short-term hit until Google comes back and re-checks all the pages.

An alternative that you may want to look into instead is telling your application server to process all your .html pages as if they had a .pl extension. (In other words, the default setup is that your web server processes .html pages directly, while all .pl pages first get processed through the PERL application server then get passed to the web server. You would configure your PERL application server to processes all .html and .pl files before sending to the web server.) How you actually do that depends on what web server/OS you're using.


5+ Year Member

Msg#: 4204377 posted 7:38 pm on Sep 20, 2010 (gmt 0)

I know its sounds kinda sketchy but have you tried an external Adwords account and targeting your site manually to see if you get impressions?

It can make a difference to volume but have you set that the channel can be targeted by advertisers?


10+ Year Member

Msg#: 4204377 posted 12:16 am on Sep 21, 2010 (gmt 0)

Check the page headers. Ads are also not served for pages with mobile headers (text/vnd.wap.wml, etc.)


print "Content-type: text/html\r\n\r\n";


5+ Year Member

Msg#: 4204377 posted 11:31 am on Sep 22, 2010 (gmt 0)

IMHO if you have doubt that adsense is showing relevant ads only on html pages (highly unlikely IMO) then try using .htaccess file to redirect html page request to your .pl pages.
I am no pearl expert but is this possible?


Global Options:
 top home search open messages active posts  

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved