Welcome to WebmasterWorld Guest from 34.204.194.190

Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Mambo's default redirect is 302? Should I hack it to 301?

     
12:09 pm on Apr 28, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 28, 2005
posts:112
votes: 0


I saw the thread here talking about 302 and hijacking.

Well my sites use mambo and all redirect's to other peoples sites mambo uses 302.

Should this be changed to 301? Is 302 defnitely a NONO?

10:46 am on May 8, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 16, 2003
posts:95
votes: 0


don't I know you from somewhere? :)

Like I have done with vbulletin - definately change from 302 to 301 redirects. Google for 302 and you find all manner of probs. Best to steer totally clear of 302's

11:21 am on May 8, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:June 3, 2002
posts:566
votes: 0


Although there seems to be hope that the 302 issue is being resolved, it should be changed to 301 .

@t2dman ;)

7:55 pm on May 8, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


Use a 301 redirect. Both Apache and Windows servers support this and it is very easy to set up.
8:28 pm on May 8, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 28, 2005
posts:112
votes: 0


Hi td2man, I sure see you around a lot :-p

thanks all, on my way to modify to 301 now

11:17 pm on May 8, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 22, 2005
posts:151
votes: 0


gford, what's the best way to do this?
Is it just one file to hack?
Directions would be dead handy! ;-)

Thanks
Craig

1:53 am on May 9, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member billys is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:June 1, 2004
posts:3181
votes: 0


bad and gford, we should keep in touch, I use Mambo too.
12:29 pm on May 9, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 28, 2005
posts:112
votes: 0


How to modify for mambo:

Open includes/mambo.php

Replace:
header( "Location: $url" );

With:
header("HTTP/1.1 301 Moved Permanently");
header("Location: $url");

That's it!

Glenn Ford

[edited by: Brett_Tabke at 1:28 pm (utc) on May 9, 2005]
[edit reason] no sig urls please [/edit]

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members