Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Solve a URL redirection/rewriting issue
This guide explains how to enable the MultiViews option via a .htaccess file on sites hosted by Infomaniak.
Preamble
- In some cases, the MultiViews option must be enabled to handle redirection and URL rewriting issues. Example:
- If the
configurationfolder and theconfiguration.phpfile are located at the root of your site and you try to access the addressmon-site.com/configurationto reach theconfiguration.phpfile, the MultiViews option must be enabled.
- If the
Enable the MultiViews option
To do this:
- Open or create the
.htaccessfile located at the root of the relevant site. Add the following directive:
Options +MultiViews- Save the changes.
Link to this FAQ: