WordPress is a very popular website for building personal blogs.Program. Open-source PHP + MySQL with rich templates and plug-ins. However, the only defect is that it consumes a lot of server resources (because the number of queries to the database on the page is too large), especially when Google crawls, if you have installed more than 50 WP blogs on your server, you will find that the arrival of spider is painful and happy for you.
Many foreign trade site friends may choose WordPress for promotion. If a server can only install about 50 WP files, the cost is a little high for those who use blog groups for promotion.
For WP resource consumption, we can use the AB (AB-N 100-C 10 www.mywebsite.com/) command of Apache to view the maximum concurrency that the WP homepage can withstand. For a common server (2.5 dual-core, 2 GB), The concurrency of the WP homepage is about 10-20. When the number of blogs on the server is about 50, this concurrency is basically less than 10. As you can imagine, when a spider comes, the server will basically crash.
So is there any way to enable a server to install more than 100 + or even 200 + WP?
The answer must be static, So how should I be static?
First, we recommend a plug-in,WP super Cache, How to install this plug-in?
Since the blog is static, the generated static pages, especially sidebar, such as classification and archives, are all dynamically output. Then we need to delete it. What should I do if my blog's sidebar does not have navigation? You can add a custom menu to sidebar. What is the custom menu content? We can add all the website categories to the custom menu. Then, use the custom menu as the sidebar output of the blog.
1. How to install Wordpress?
2. Select Seo-friendly templates, such as Europe.
3. Add all types of blogs
4. Add a custom menu, delete the category and archive of the sidebar, and delete the sidebar.ArticleComment (comment out the statement that outputs the comment in the template)
5. Add the link module to the sidebar and delete the default link.
6 installationWP super cache plug-in