Avoid redirections


Redirections should be avoided as much as possible as they slow down response and drain resources unnecessarily. These redirections can take place on various levels: HTML code, JavaScript code, HTTP server and application server (e.g. PHP).

At the HTTP server level (Apache in this case), a redirection involves systematically rewriting the URLs via the .htaccessfile:
.htaccess :

<IfModule mod_alias.c>
Permanent redirection

It would be better to manually replace the web pages’ static addresses.

This best practice should only be applied if it is coherent with your project's specifications.
Under CC-By-NX-SA license