Redirect with . htaccess

Asked

Viewed 54 times

1

Would anyone know to assist me in changing a friendly URL.

Example:

RewriteEngine On
RewriteRule ^nome-da-nova-url-([A-Za-z-]+)\.htm$ url.php?url=$1

I would like everything that is on www.meusite.com/nomedaurl.htm were for www.meusite.com/newname-url-starname-starname.htm.

If there is a possibility to redirect:

RewriteRule ^([A-Za-z-]+)\.htm$ url.php?url=$1

To:

RewriteRule ^nome-da-nova-url-([A-Za-z-]+)\.htm$ url.php?url=$1
  • 1

    I don’t understand.. The current rule is no longer doing that?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.