mediatribe.net -- Drupal et développement web

Notice: this post was last updated Il y a 3 years 37 weeks so it might be outdated. Please be cautious before implementing any of suggestions herein.

htaccess: redirecting one path to another

I want to type example.com/source and be redirected to example.com/destination.

This can be achieved by adding the following rewrite rule to .htaccess, provided rewrite engine is available and activated:

RewriteRule ^source$ /destination [L,R=301]