Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Php header question
02-24-2010, 12:09 AM #1
- Join Date
- Feb 2010
- Thanked 0 Times in 0 Posts
Php header question
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, 09:37 AM #2
- Join Date
- Aug 2006
- Thanked 110 Times in 109 Posts
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?
You can not say you know how to do something, until you can teach it to someone else.