.htaccess redirects

From Imaginet FAQ
Revision as of 16:07, 13 December 2021 by Desmond (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The following tutorial explains how to go about using a .htaccess file for redirects. The two common options are to redirect a file and to redirect a directory.

This comes in handy if you do not want to remove old content, but simply redirect the old content to the new content, this is often used avoid generator 404 errors for SEO. The .htaccess is a very powerful file and can be used for a number of things. There is an online .htaccess Redirect Generator which simplifies this for you.