Unable to display 404 pages of WordPress theme

WordPress one three hundred and fifty-five Reading mode

Symptoms: the 404 page of WordPress theme cannot be displayed, but the 404 file default to the host is displayed. If the 404.html file in the root directory of the website is deleted, a blank page is displayed.
To solve this problem, open the pagoda panel → website → site → settings → configuration file, search for "error_page 404/404. html", and add # to the front, for example:

 #error_page 404 /404.html;

Refresh the 404 page of the website. Is the 404 template that comes with the theme displayed? If not, restart the service and save the fixed link settings.

 Unable to display 404 pages of WordPress theme

Most of the articles on this site are original and used for personal learning records, which may be helpful to you, for reference only!

 weinxin
My Wechat
WeChat copied
Copyright Notice
Please indicate the source and link of the original article reprinted on this site. Thank you for your cooperation!
five hundred and ninety-eight million eight hundred and forty-five thousand and six
 
 Robin
five hundred and ninety-eight million eight hundred and forty-five thousand and six
    •  Dita mobile game website
      Dita mobile game website zero

      It's not displayed for any reason. It's just used.

     anonymous

    Comment

    Anonymous netizens
     :?:  :razz:  :sad:  :evil:  :!:  :smile:  :oops:  :grin:  :eek:  :shock:  :???:  :cool:  :lol:  :mad:  :twisted:  :roll:  :wink:  :idea:  :arrow:  :neutral:  :cry:  :mrgreen:

    Drag the slider to complete validation