logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

Are Directories Hijacking your URL?
redirects in meta tags - big discussion

Version:


Are Directories Hijacking your URL?
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 09/20/04 - 01:52 PM:
quote post
#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.

Here are the links:

http://www.pandia.com/sw-2004/40-hijack.html
http://forums.searchenginewatch.com/showthread.ph...
http://www.webmasterworld.com/forum3/25638-1-10.htm

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.

Hope it helps.

Thanks for the great program!

_____________________
Real Estate Business Directory
mrowton
Forum Regular
Avatar

Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan
Total Topics: 59
Total Posts: 189

Last Blog:

Posted 09/20/04 - 03:27 PM:
quote post
#2
Could we just make these 301 redirects instead of 302s? Or is there some reason it needs to be a 302?

_____________________
http://www.packetsource.com/
Directory of Security Papers
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 56
Total Posts: 5844
Posted 09/21/04 - 12:24 AM:
quote post
#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
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.