| How can I change the default start page?|
How can I change the default start page?As a rule the file called index is the default start page. This means that this page will be shown first when you access your domain, directly (www.example.com). Furthermore, index.php will always be shown before index.html, meaning that for example your WordPress (PHP) site is shown and not your Website Builder (HTML) site.
With .htaccess you can change which file will be shown first and in what preferred order. You can for example use this:
Adding this line of code will by default show
|This resource belong to this community unless differently stated.|
No reproduction possible without our agreement, in accordance with article L122-1 of the CPI.