Share: Solutions to cos-html-cache, WordPress static utility
Source: Internet
Author: User
Share: I will not talk about the benefits of using the cos-html-cache static utility for WordPress. I have found several static WordPress methods on the Internet, cos-html-cache is found to be relatively reliable, but the installation method is not detailed enough in the plug-in instructions. I will add the following: 1. download the plug-in: in the "plug-in" section of the background management, click "Add new plug-in" to share: how to use the static WordPress utility cos-html-cache
I will not talk about the benefits of static deployment. I found several static WordPress methods on the internet and found that cos-html-cache is relatively reliable. However, the installation method is not detailed enough in the plug-in instructions, I will sort it out as follows:
1. download ins: in the "ins" section of the background management page, click "add new ins", search for "cos-html-cache", and click "install" after searching, the plugin is installed under 'WP-content/plugins;
2. after installing the plug-in, click "activate" on the confirmation page;
3. create a file "index. bak" under the root directory of the website (blog) and set the attribute to 0666. this is generally the default setting;
4. set the format of the fixed link. for example, if it is set to/html/% year % monthnum %/paipost_id+.html, it must end with .htm+.html; otherwise, it cannot be generated;
5. create an html folder under the root directory of the website (blog) and set the attribute to 777. the default setting is normal, so that the html static file of the content page can be generated;
6. log out. the cache is generated only when the user is not logged in;
7. installation is complete.
PS: You can dynamically generate static files without logging out after adding or updating articles.
Official Blog Post address: http://www.17core.com/blog/html/201101/35.html
------ Solution --------------------
Discussion
I will not talk about the benefits of static deployment. I found several static WordPress methods on the internet and found that cos-html-cache is relatively reliable. However, the installation method is not detailed enough in the plug-in instructions, I will sort it out as follows:
1. download ins: in the "ins" section of the background management page, click "add new ins", search for "cos-html-cache", and click "install" after searching, the plugin is installed under 'WP-content/plugins;
2. after installing the plug-in, click "activate this plug-in" on the confirmation page ......
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.