Thursday, August 27, 2009

How to redirect using .htaccess

If you want users to be redirected to another page if they browse a specific URL, Create a .htaccess file in the root folder and add the following lines...


Redirect /book/tiger.html http://google.com/


If the user tried to access the file /book/tiger.html they will be redirected to google.com

No comments:

Post a Comment