Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Solving a URL redirection/rewriting problem
This guide explains how to enable the MultiViews option via an .htaccess
file on websites hosted by Infomaniak.
Introduction
- In some cases, the MultiViews option must be enabled to handle redirection and URL rewriting issues. Example:
- If the
configuration
folder and theconfiguration.php
file are located at the root of your site and you try to access the URLmy-site.com/configuration
to reach theconfiguration.php
file, the MultiViews option needs to be enabled.
- If the
Enabling the MultiViews option
To do this:
- Open or create the
.htaccess
file located at the root of the relevant site. Add the following directive:
Options +MultiViews
- Save the changes.
Link to this FAQ: