UnixServerAdmin

Server Administration & Management

How to Redirect URL using .htaccess file

For redirect a URL on permanent basis, open .htaccess file and add following line :-

============================================
redirect permanent /example/test  http://username.com/
============================================

Advertisements

March 7, 2011 Posted by | Apache, htaccess | , , | Leave a comment