Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

Adsense with mod_rewrite

Adsense doesn't serve the right ads when using RewriteRule in .htaccess



9:30 pm on Jul 15, 2003 (gmt 0)

10+ Year Member

Adsense doesn't correctly spider the site (and display the most relevant ads) when using RewriteRule in .htaccess to make my .php pages appear as .html pages.

For example,
is the same as

However, the php page displays the most relevant ads for the current page. The HTML page pulls meta content from the /forums/ index page (as if the "f3.html" part of the URL didn't exist).

See THIS PAGE for more information:



10:20 pm on Jul 15, 2003 (gmt 0)

10+ Year Member

I think that double page addresses (which my site also uses, though not mod_rewrites) won't do you any favours with AdSense, but I have seen them work.

Mind, currently AdSense is serving me useless yankee charity ads on both versions of the page...


12:38 am on Jul 16, 2003 (gmt 0)

10+ Year Member

On both versions of "the page"? Are you referring to MY SITE?

Featured Threads

Hot Threads This Week

Hot Threads This Month