Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

Adsense on dynamic page

Ads not showing in .pl pages

7:09 pm on Sep 20, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 27, 2004
votes: 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.
7:21 pm on Sept 20, 2010 (gmt 0)

Moderator from US 

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

joined:Dec 10, 2005
votes: 27

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.
7:38 pm on Sept 20, 2010 (gmt 0)

New User

5+ Year Member

joined:Dec 7, 2009
posts: 26
votes: 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?
12:16 am on Sept 21, 2010 (gmt 0)

Preferred Member

10+ Year Member

joined:Dec 12, 2004
votes: 1

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";
11:31 am on Sept 22, 2010 (gmt 0)

Full Member

5+ Year Member

joined:May 27, 2006
votes: 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?


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members