Mod_rewrite

software development

#1

Hi

I’m having some problems using mod_rewrite. I’m sure I’m doing everything right, so maybe something is wrong further on down the line?

Anyway, this is what I have in my .htaccess file, that’s based in my root directory:

RewriteEngine On
RewriteRule    ^/pr$  /en/pr/  [R]

When trying, it never redirects or rewrites me, it just goes to /pr and gives me a 404. Does anyone know why this isn’t working?

Thanks!

Wil

Web Developer
http://www.fbagroup.co.uk/