Answer the question
In order to leave comments, you need to log in
Htaccess redirect after deleting multilingual?
Hello. A simple task, I removed the multilanguage on 1 site, now I can’t write the correct redirects.
There were urls like: www.site.com/en/home , www.site.com/pl/home , you need to redirect to www.site.com/home
Site to WordPress. Tried like this:
RewriteEngine On
RewriteCond %{REQUEST_URI} /pl/
RewriteRule pl/ / [L]
Answer the question
In order to leave comments, you need to log in
https://klondike-studio.ru/blog/snipet-for-htaccess/
see here there is an example
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question