New answers tagged

0

This should target the start page of each language, only when it has a trailing slash. Then it will remove the trailing slash. If you need something else, please comment and I will adjust it. RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (de|en|es|fr)/$ RewriteRule ^ %1 [R=301,L]


Top 50 recent answers are included