troubleshooting Question

Short URL Redirection, which HTTP Header is best for me?  301, 302?

Avatar of stellaartois
stellaartoisFlag for United Kingdom of Great Britain and Northern Ireland asked on
Apache Web Server
2 Comments1 Solution604 ViewsLast Modified:

On my website I am launching a service where users can link to their quizzes using a short URL, which is suitable for Twitter and other websites.

I'm not sure which HTTP Header is best for me from an SEO point of view.  My domain is and my URL shortener is

I have looked at two of the URL shortening services and they give the following HTTP Headers:
HTTP Status Code: HTTP/1.1 301 Moved Permanently
HTTP Status Code: HTTP/1.1 301 Moved

Should I give a moved (permenantly) HTTP header for my URLs which simple redirects to the right place on or should I give an OK (Found) HTTP header?

What are the advantages and disadvantages or each?

Is there another HTTP Header that I should use other than these, after all it's not really a URL shortener... it's a redirection services specifically to make my website's users easier.

Thank you for any experience and advice.


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros