In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the method of setting wordpress static, which has certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
How to set wordpress static?
For pseudo-static problems, I believe friends who use WordPress will be very familiar with the WP-Cache plug-in, not only because of its outstanding performance makes it almost a necessary plug-in for WP users, but also notoriously difficult to install. Now introduce an improved version of WP-Cache plug-in WP Super Cache. Like WP-Cache, it is a WordPress "static" plug-in that can be cached to improve the performance of WP under heavy loads. The biggest improvement of WP Super Cache over WP-Cache lies in the addition of Super Cache. Some pages will be cached as SuperCache according to certain rules, and this SuperCache is essentially the page itself.
The second problem is that many windows hosts do not support mod_rewrite or IIS Rewrite, for example, my host space is like this, then through a workaround. The prerequisite is that the server provider's control panel has the option to customize the 404 error page. Most of these hosts are supported.
Now all you have to do is create a 404 error page and write the following four lines of code to simply and elegantly implement the pseudo-static address format of permanent fixed links that perfectly support windows iis hosts without plug-ins. Remove the index.php from the web address!
The code is as follows:
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.