WordPress program in the win and Linux system under the pseudo static settings

Today, this article I came to tell you about the wordpress program in the win and Linux system under the pseudo-static set method.
The first: win system under the wordpress program pseudo static.
wordpress in the win system under the pseudo-static premise is the need for space system to support pseudo-static settings, and we also know that the general win system supports pseudo-static rules for the httpd.ini format, then we first first create a text document, the following code Copy and paste in the inside (this is what I have so far collected the most perfect win system pseudo-static rules).
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from access through HTTP
# wordpress pseudo static rules
# For tag (Chinese label and label page rules)
RewriteRule /tag/(.*)/page/(d+)$ /index.php?tag=$1&paged=$2
RewriteRule /tag/(.+)$ /index.php?tag=$1
# For category (Chinese classification and classification of the rules)
RewriteRule /category/(.*)/page/(d+)$/index.php?category_name=$1&paged=$2
RewriteRule /category/(.*) /index.php?category_name=$1
# For sitemapxml
RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /sitemap.html /sitemap.html [L]
RewriteRule /sitemap_baidu.xml /sitemap_baidu.xml [L]
RewriteRule /favicon.ico /favicon.ico [L]
# For file-based wordpress content (ie theme), admin, etc.
RewriteRule /wp-(.*) / wp- $ 1 [L]
# For normal wordpress content, via index.php
RewriteRule ^ / $ /index.php [L]
RewriteRule / (.*) /index.php/$1 [L]
Copy and paste the above code into the text document, we will save the text as httpd.ini, so that our pseudo-static rules on the well, we only need to upload this file to the space more directory, if in the background → fixed link selection Custom link input / %category%/%post_id%.html or / %post_id%.html click to save on it, which we also need a plug-in support, that is, to remove the category URL in the middle of the category, we only need In the background plug-in → install plug-in that search WP No Category Base, the installation is enabled on it. So we win system under the wordpress program pseudo static to complete.
The second: pseudo-static settings under Linux system
This is very simple, we know that the Linux system itself is the most perfect system using wordpress, its pseudo-static settings are very simple, we only need in the background → fixed link select custom link input /% category% /% post_id% .html or / %post_id%.html click Save on it. Similarly, it is also necessary to cooperate with WP No Category Base plug-in, the following I will support the Linux system. Htaccess pseudo-static rules to write out. The code is as follows:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^ index.php $ – [L]
RewriteCond% {REQUEST_FILENAME}! -f
RewriteCond% {REQUEST_FILENAME}! -d
RewriteRule. /index.php [L]
</ IfModule>
# END WordPress
The above code is the same, we need to create a new text document, and then paste the code into the paste, click Save as. Htaccess file, and then upload this file to the root of the space to complete.
This article is written here, and hope that those who use the wordpress program do not know how to set up a friend how to do some help, if you do not understand what, you can leave a message to me, thank you!