Welcome to WebmasterWorld Guest from 107.20.75.63

Forum Moderators: open

Message Too Old, No Replies

htaccess - what´s in the header?

     
8:57 am on Mar 14, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:Aug 15, 2000
posts:482
votes: 0


When I use the htaccess to redirect to another page, what´s written in the header: a 301 redirect?
2:07 pm on Mar 14, 2003 (gmt 0)

Senior Member

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

joined:Mar 31, 2002
posts:25430
votes: 0


It depends on what directive you use within .htaccess to accomplish the redirect. You have a choice of 301 or 302 when working with Redirect, and a choice of 301, 302, a silent (internal) redirect, and other options with mod_rewrite.

Jim

7:22 pm on Mar 19, 2003 (gmt 0)

New User

10+ Year Member

joined:Nov 14, 2002
posts:32
votes: 0


Sorry, wrong forum for my followup. Moved my reply to forum 23 (Website Technology Issues).
5:04 am on Mar 23, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:Jan 5, 2003
posts:380
votes: 0


if you have access to a *nix box you can use lynx to see :

lynx -head [yoursite.com...]

and it will say :

HTTP/1.1 404 Not Found
Date: Sun, 23 Mar 2003 05:05:08 GMT
...

for a 404 or something else for a 301, 302 etc.