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. Hosting-SVG-Box Created with Sketch. Hosting-SVG-Box Created with Sketch. Trust Pilot Stars Created with Sketch. 1-5-million Created with Sketch. black-green yellow_blue 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. 247 Created with Sketch. open24 Created with Sketch. 24 7 trusted Created with Sketch. Fill 1 Created with Sketch.

Hvordan kan kan jeg legge til en egendefinert feilside?

Du kan bruke .htaccess til å vise de besøkende en egendefinert feilside i stedet for en standard serverreturnert feilkode. De mest vanlige feilene du kan opprette sider for er Side ikke funnet (404) og Forbudt – Nektet tilgang (403).

Legg til følgende kode i .htaccess-filen din:

ErrorDocument 403 http://one-example.com/forbidden.html ErrorDocument 404 http://one-example.com/notfound.html

Erstatt http://one-example.com/forbidden.html og http://one-example.com/notfound.html med plasseringen til dine egendefinerte feilsider.