简体   繁体   中英

Edit page 404 (html)

I can not change the 404 page of my website. I created the page errore.html and I created the file .htaccess :

ErrorDocument 404 /errore.html

but still on the site displays the default 404 page.

Files errore.html and .htaccess are both in the root folder of the site.

Make sure the settings in your httpd.conf file are correct.

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
#   AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM