How to set up the commonweal 404 page by Wordpress
Wordpress how to set up a public welfare 404 page, in response to this problem, this article details the corresponding analysis and answers, hoping to help more small partners who want to solve this problem find a simpler and easier way.
Wordpress theme will come with a 404 page, if you need to replace it with a custom you need to modify the 404.php page
1. 404 Page not found
Generally, under wp-yisu/themes/your theme in the root directory of the website, my theme is sela, so the specific location is wp-yisu/themes/sela/404.php
2. Copy the original page to a new one
Back up the original 404.php page and modify it as follows:
404.html reads as follows:
Public welfare 404
3. Test access effectiveness
Feel free to visit a non-existent link such as minminmsn.com/404 and hope she comes home soon!
4. 404-Page not found 404-Page not found
The requested URL/themes/sela/search.php was not found on this server.
changed to
The full text reads as follows:
About Wordpress how to set up Tencent public welfare 404 page questions to share here, I hope the above content can have some help for everyone, if you still have a lot of doubts not solved, you can pay attention to the industry information channel to learn more related knowledge.