Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Need help with page redirect on Nginx
I’m struggling with a redirect issue. I need to redirect a specific page to another due to naming changes.
Just need to set a permanent redirect for the above example. I’ve set this in default .conf file in many different ways but nothing works.
Tried rewrite, return, permanent ways in server block but didn’t help.
There is already a server block in .conf file that was added for http to https redirect. Not sure if there should be only one server block or something.
Created a redirects.conf file as well and tried but nothing works. Any help will be greatly appreciated!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×