.htaccess redirect after Hide URL language information for default language?
-
I have noticed that, if I tick the option “Hide URL language information for default language”, all my existing posts and pages in the default language will return a 404 and not be automatically redirected.
What would be the smartest .htaccess rule to redirect all the content of the default language to the new url (without language tag)?
Would something like this work?
RewriteEngine on RewriteRule ^en/(.*)$ $1
- The topic ‘.htaccess redirect after Hide URL language information for default language?’ is closed to new replies.