404 Redirect In Htacess

I tried this



RewriteEngine on

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



in the htacess and does not redirect the links we need to redirect



The ones that changed when we upgraded to 4.1.4 and they are all after .html?sl=EN



they are ranked top page so it critical to force a redirect to index page



I tried another one but all links went to index the good & bad ones

Hello flasher,



Please try this:



RewriteCond %{QUERY_STRING} ^(.)sl=EN(.)$

RewriteRule ^(.*)$ $1?%1sl=en%2 [L]



Best regards, Alt-team

Hi tried but nothing hear is a link



http://website.com/humvee-medium-cotton-safari-vest-with-extra-pockets-black.html?sl=EN



I also restarted server as well



It went to a white screen

Just to confirm all of the =EN was removed already but google still has some links as html?sl=EN we need it

when someone clicks the links that has html?sl=EN they go to index not 404

[quote name='flasher' timestamp='1400038167' post='183486']

Just to confirm all of the =EN was removed already but google still has some links as html?sl=EN we need it

when someone clicks the links that has html?sl=EN they go to index not 404

[/quote]



Please, check your links attentively, probably your seo urls for the same products differ a little, that is why they were not redirected correctly. Or probably your site is not still reindexed completely, thus you need to wait for some days to see the changes.



Best regards, Alt-team

Thank you :)