Knowledge base

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

Troubleshooting URL redirection/rewriting issues

Update 08/06/2026

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 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 in the root directory of your site and you try to access the address domain.xyz/configuration, the MultiViews option must be enabled so that the server can 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, which is located in the root directory of the website in question.
  2. Add the following directive:

    Options +MultiViews
  3. Save the changes.

Has this FAQ been helpful?