In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How does the pagoda panel set up a custom 404 page? As we all know, the default 404 page is not friendly to search engines, so how to modify the default 404 page through the pagoda panel to make it our custom 404 page?
1. Enter the pagoda panel and find the corresponding website-Settings-configuration file. We can see that the default 404 page is 404.html.
2. You only need to make your own page, name it 404.html, and upload it to the root directory of the website.
3, if the site source code with 404 pages, do not need the default page, you can comment out the default, 502 page the same reason.
Find the following code
Error_page 404 / 404. Htmlbomacherism page 502 / 502.html
Just add the "#" symbol in front of it.
# error_page 404 / 404.html / 502.html
This completes the setting of the custom 404 page of the site, takes effect in time after saving, and restarts if not. In this way, the default 404 and 502 pages of the pagoda panel have been changed to the original theme.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.