URL redirects and google

Found a bug? Tell us!!
Post Reply
stoub
Regular
Posts: 7
Joined: Mon Oct 18, 2004 4:57 pm

URL redirects and google

Post by stoub »

Hi,

The redirects to external links are done through exit.php, with a 302 redirect. A 302 redirect doesnt give pagerank for the linked page for google, because its a temporary redirect.

Would it be possible to change that for a 301 (permanent redirect) ? Or even better, an option to make direct links if we want? (losing track for external clicks)

(for this I just added the line

Code: Select all

header("HTTP/1.1 301 Moved Permanently");
to the beginning of exit.php).
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: URL redirects and google

Post by garvinhicking »

Hi stoub!

Thanks for this useful suggestion! I just included that into our 0.8 release branch CVS so it can be part of a next release!

Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply