1
I am using the following mod-rewrite rule
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/?$ index.php?lang=$1&page=$2 [L,QSA,NC]
But now I need to redirect an old page to the new one. So I did the following:
Redirect 301 /port/reestruturacao-financeira http://website.com/port/reestruturacao-corporativa/
Where the second is the new page. But the browser returned this:
http://website.com/port/restructuracao-corporate//? lang=port&page=financial restructuring
Try this: Redirect 301 /pagina_antiga.php http://www.example.com/nova_pagina.php
– tkmtts
Put the . htaccess all please
– Guilherme Nascimento
@tkmattos reply here: http://stackoverflow.com/a/37049524/3691686
– marcelo2605