Email-Icon Created with Sketch. Group 3 Created with Sketch. Domains-SVG-Box Created with Sketch. Domains-SVG-Box Created with Sketch. Domains-SVG-Box Created with Sketch. Hosting-SVG-Box Created with Sketch. Hosting-SVG-Box Created with Sketch. Icon-Internet Created with Sketch. Hosting-SVG-Box Created with Sketch. Icon-Internet Created with Sketch. Icon-Internet Created with Sketch. Trust Pilot Stars Created with Sketch. 1-5-million Created with Sketch. Control-panel-Icon Created with Sketch. WSB-Brush Created with Sketch. WSB-Brush Created with Sketch. WSB-Brush Created with Sketch. Email-Icon Created with Sketch. Email-Icon Created with Sketch. Email-Icon Created with Sketch. Email-Icon Created with Sketch. Icon-ECommerce-Seperator Created with Sketch. Icon-ECommerce-Seperator Created with Sketch. Icon-ECommerce-Seperator Created with Sketch. icon-slider-next Created with Sketch. icon-slider-prev Created with Sketch. Webmail-icon Created with Sketch. heart Created with Sketch. Open-24-7 Created with Sketch. open24 Created with Sketch. 24 7 trusted Created with Sketch. Fill 1 Created with Sketch.

Hvordan kan jeg ændre standardstartsiden?

Som hovedregel er filen, der hedder index, standardstartsiden. Det betyder, at denne side vises først, når du åbner dit domæne direkte (www.example.com). Herudover vises index.php altid før index.html, hvilket betyder, at dit Wordpress-websted (php) vises og ikke Hjemmesideprogram-webstedet (html).

Med .htaccess kan du ændre, hvilken fil der vises først og i hvilken rækkefølge. Du kan f.eks. bruge denne:

DirectoryIndex home.html index.html index.htm index.php

Hvis du tilføjer denne kodelinje, vises home.html som standard, når du går til dit websted. Hvis filen ikke er tilgængelig, forsøger serveren at loade i denne rækkefølge: index.html index.htm index.php, forudsat at disse filer er på dit websted i den samme mappe.