Redirect & rewrite URL’s

Redirect & rewrite URL’s

Redirect and rewrite URL's Redirect and rewrite URL's is easy using an .htaccess file. .htaccess files enables you to redirect users from an old page to a new page. Without having to keep the old page. For example, if you use index.html as your index file and then later rename index.html to home.html. You could set up a redirect to send users from index.html to home.html. For example: Redirect & rewrite URL's to a local site file. Redirect /path/to/old/file/old.html /path/to/new/file/new.html This is a redirect to an external site file. Redirect /path/to/old/file/old.html http://www.example.com/new/file/new.html The first path IMPORTANT, The first path to the…
Read More