How To Redirect /en/ To Non-En?

Hi,



Is anyone know how to set redirect to those .com/en/ to non /en/?

i accidentally click the SEO enable the language function :shock: . now google show i have 4k 404 errors. need help!





appreciate your help.



Thanks

Hi,

Please add to file[color=#ff0000] .htaccess [/color]:



#under
RewriteEngine on




#add
RewriteRule ^en/(.*)$ /$1 [R=301,L]




#final
RewriteEngine on
RewriteRule ^en/(.*)$ /$1 [R=301,L]




I hope that helps,





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

[quote name=‘Vali’ timestamp=‘1393083682’ post=‘178011’]

Hi,

Please add to file[color=#ff0000] .htaccess [/color]:



#under```php


RewriteEngine on

<br />
#add```php
<br />
RewriteRule ^en/(.*)$ /$1 [R=301,L]<br />

```<br />
<br />
#final```php
<br />
RewriteEngine on<br />
RewriteRule ^en/(.*)$ /$1 [R=301,L]<br />

```<br />
<br />
I hope that helps,<br />
<br />
---<br />
Valentin<br />
[color=#808080][size=2]part of hungryweb.net[/size][/color]<br />
[/quote]<br />
<br />
<br />
Thanks Vali. it work! <img src="upload://tbe1CncrrOs48cXpHvziOT8r0T3.gif" class="bbc_emoticon" alt=":mrgreen:">

I have the same issue and tried this with 4.1.4 and did not work or is there something else to try

I tried a another but all pgs redirect to index page not just the 404 ones but even good ones

the ones ending like ?sl=EN after .html or ?sl=FR and ?sl=ES are the ones we need to be re directed