URL redirect using .htaccess on Apache powered website

If you want to redirect an URL to a new address, it can be easily done using Apache .htaccess file.

Simply add the following code into a file names “.htaccess” in your directory.

RewriteEngine on
RewriteRule ^$ NEW_URL

A good reference is here.

One Response to “URL redirect using .htaccess on Apache powered website”

  1. Brooke Smart Says:

    I never thought I will agree with this opinion, but you know… I agree partially now…

Leave a Reply