Getting YPN to target ads on pages with GET parameters

Status
Not open for further replies.

Setec

Will work for cheese
Nov 1, 2006
266
13
0
www.buymystupidebook.com
I'm having a hell of a time getting YPN to shop showing Run-of-Network ads on my pages like
Code:
http://www.mysite.com/my-topic-name.php?source=MSN
. The regular URL
Code:
http://www.mysite.com/my-topic-name.php
targets fine, but the one with a parameter keeps showing RON ads.

This is giving me big problems as I try to add and track new PPC sources.

I thought it was just forgetting its targeting on pages that hadn't been visited for a while, so I wrote a script to visit all my pages once a day and load my ads, prompting Yahoo to re-spider them. That doesn't seem to have worked at all.

Anyone have any ideas? Has anyone else run into this problem?

The next thing I'll try is using mod_rewrite to make the pages look like plain HTML... I'll post how it goes.
 


Thanks! That works perfectly.

For anyone else wondering about the specifics, here's the code to stick in the .htaccess file:

Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(MSN|YSM|ADW|LookSmart)/([A-Za-z\-]*\.php)$ $2?source=$1

That'll send /MSN/your-page-name.php to your-page-name.php?source=MSN (or YSM or ADW, etc).
 
Status
Not open for further replies.