Knowledge base

1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!

Fix a URL redirection/rewriting issue

Update 02/24/2026

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 manage redirection and URL rewriting issues.
  • This option allows the server to guess which file the user is looking for. Example:
    • If the configuration folder and the configuration.php file are located at the root of your site and you try to access the address domain.xyz/configuration, the MultiViews option must be enabled for the server to guess that you want to access the configuration.php file.
  • The MultiViews option can sometimes conflict with more complex URL rewriting rules defined by mod_rewrite (used by many CMS).

 

Enable the MultiViews option

To do this:

  1. Open or create the .htaccess file located at the root of the affected site.
  2. Add the following directive:

    Options +MultiViews
  3. Save the changes.

Has this FAQ been helpful?