Which HTTP status code should be used when redirecting from a secondary URL to a primary URL?
For example, if the "official" URL of a Contact page is /contact-us
and I want to provide /contact
as a shorthand convenience, what would be the appropriate status code?
Use one of these:
From your question I think 303 See other
is most appropriate.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.