View Full Version : Php header question

02-24-2010, 01:09 AM
Hello all :)

I'm webmaster of a website and got quite a suprise rencently. I had a site running for a long time then I decided to update it to a free games sites.

I got some bad surprise rencently, lots of old request of the older site make duplicate false pages in google :


if you look there's a results like www.danerd.com/?Show=media_prev&id=2632 from the older site but it get cached by google as duplicate of the index page.

but good pages like www.danerd.com/game.html?id=13858 must be cached by google. So I'm just trying to set my php header so that all /?something get back to www.danerd.com except for game.html?id=13858 ... but doesn't seems to work. Any clue someone please ?


02-24-2010, 10:37 AM
have you considered using mod rewrite to achieve this. If you do want to use php still then can you show the code that is failing?