Answer the question
In order to leave comments, you need to log in
How to make 301 redirect from .html to php via .htaccess?
In a WordPress blog, all entries (1000+ items) with .html at the end of the URL (for example, test.ru/blog/page.html)
Now you need to make a transition to the PHP page (for example, test.ru/blog/page). This is solved by setting in the admin panel.
But after that, all pages in search engines will return 404. How to make a correct redirect on the entire site so that 301 redirects from .html to without work?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question