Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Redirecting to HTTPS and Redirect Chains

$
0
0
We've moved from http to a new server running WordPress with new https URLs. A redirect "chain" has been created from the old to new URLs. Is it possible to go from #1 to #3?

1. http://www.website.com/directory - 302 Found

2. https://www.website.com/directory - 301 Moved Permanently

3. https://www.website.com/directory/ - 200 OK

Or if I could put it this way, is there any scenario in which all URLs can't be redirected from #1 to #3 via a rule in nginx?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>