Home>Article>Topics> How to change the default 404 page of the Pagoda panel to the WordPress theme 404 page?

How to change the default 404 page of the Pagoda panel to the WordPress theme 404 page?

藏色散人
藏色散人 forward
2019-09-21 11:53:13 3104browse

How to change the default 404 page of the Pagoda panel to the WordPress theme 404 page? The following columnPagoda Panel Tutorialwill introduce you to the modification method. I hope it will be helpful to friends in need!

How to change the default 404 page of the Pagoda panel to the WordPress theme 404 page?

##We enter the Pagoda Panel-> Website-> Find your website-> Settings-> Configuration file, find the following code in the file

error_page 404 /404.html;error_page 502 /502.html;

Use # to comment them out, as follows

# error_page 404 /404.html;# error_page 502 /502.html;

Save and then refresh the 404 page. The template will be back. It’s very simple.

The above is the detailed content of How to change the default 404 page of the Pagoda panel to the WordPress theme 404 page?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:boke112.com. If there is any infringement, please contact admin@php.cn delete