Answer the question
In order to leave comments, you need to log in
301 redirect to nginx site with html to no html?
There are links like https://site.ru/page.html
You need to set up a 301 redirect to https://site.ru/page/
Nginx
Give a link where to study or ask for help.
Answer the question
In order to leave comments, you need to log in
rewrite ^(.+)\.html$ $1 permanent;
(offhand, you need to test)
https://www.nginx.com/blog/creating-nginx-rewrite-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question