Forum Moderators: phranque
Using apache rewrite_mod I need to have a rewrite rule that will do the following:
if an URL contains this pattern es/en/SOMENAME
to change it to just /SOMENAME
Basically remove the es/en and leave /SOMENAME as the URL
So if someone knows what the rewrite should be in the vhost.conf file,
I would really appreciate it.
Thanks,
Jordo
If you're just doing this because pages have moved you should probably use mod_alias:
RedirectMatch 301 ^/es/en/(.*) [mysite.com...]