12
votes
2answers
2k views

What are the Consequences for using Relative Location Headers?

According to the spec, Location headers used in a redirect require a server name HTTP/1.1 301 Moved Permanently ... Location: http://example.com/foo/baz/bar However, in 2012, most web browsers will ...
1
vote
3answers
408 views

302 Moved Temporarily or 301?

HTTP status code checker tool shows HTTP/1.1 302 Moved Temporarily for the home page URL http://someurl.com (just a namesake URL). Also, this URL opens up http://www.someurl.com/general/index. As you ...
1
vote
1answer
354 views

How to handle redirects & http status codes at urls where a product becomes unavailable?

I have this use case that happens frequently: Lots of products for sale, periodically a percentage goes out of stock. A user still browses in on the old url, to a location where a product used to ...
1
vote
2answers
383 views

Temporary website redirect: 3xx or php/meta?

I run a (small) news website which has also a forum in a subfolder of the root. I'm planning to give the site a facelift and a code restructuration, so I wanted to put some redirect on the home page ...