How to style 404 page in WAMP server

前端 未结 5 1579
夕颜
夕颜 2021-01-05 23:05

I am using a WAMP server and I need to change the \"404 not found page\" style using CSS. How can I do it?

\"ent

5条回答
  •  無奈伤痛
    2021-01-05 23:39

    This is a core feature in Apache, and you can select a few methods of changing the 404 message.

    To create your own custom page with HTML/CSS, this is one option you can put in your .htaccess file:

    ErrorDocument 404 /my404.php
    

提交回复
热议问题