Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 09/20/04 - 01:52 PM:
#1
Hello everyone!
I just changed my link.php?id= to rgular direct links - I know that the tracing mechanizm won't work, but I think now is the time that you guys look into this problem - people are very upset with Google and Yahoo caching pages that don't belong to the sites (because of redirects) and penalizing the actual content owners.
I'm running directory on my own and not taking advantage of the problem, but I already see that similar software developers making changes to avoid problems.
Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 56
Total Posts: 5844
Posted 09/21/04 - 12:24 AM:
#3
The PHP header("Location: "); option is apparently treated as 302. Adding an extra header before it seems to be the solution.
Open link.php, change
header("Location: $url");
to header("HTTP/1.1 301 Moved Permanently");
header("Location: $url");
_____________________
"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat