Intermediary trading http://www.aliyun.com/zixun/aggregation/6858.html"> SEO diagnostic Taobao customer hosting technology hall
Web site URL to achieve static though not necessary, but it can give you a website plus points, first of all yourself and the user looked comfortable, do not look at so many messy symbols, and secondly search engines crawl up to facilitate , So if you can achieve the static URL to try to achieve, certainly more advantages than disadvantages.
The php version of zblog provides a very simple way of URL staticization, which should be pseudo-static, as it is not really generating static files, just letting you look at URLs that are statically static. Specific steps are as follows:
Step 1: First go to zblog background "Application Center" download and install the "Static Management Center" plug-in, zblog php version is installed by default, "Application Center", you can go directly to find, if not installed, go to the official website It is downloaded inside.
Step 2: After installing the Static Manager plug-in, start it.
Step 3: in the "Configuration page" "staticization options" select "pseudo-static", and then you can set the next article, page, category page URL configuration, in general, do not modify the default just fine. Then click the "Submit" button, automatically jump into the "ReWrite rules."
Step 4: Set ReWrite rules.
(1) If your web server is an apache server, create an .htaccess file, copy the following into it, and then upload the .htaccess file to the web root:
RewriteEngine On
RewriteBase /
RewriteCond% {REQUEST_FILENAME}! -f
RewriteCond% {REQUEST_FILENAME}! -d
RewriteRule. /index.php [L]
(2) If your web server is IIS7 or IIS8, then create a web.config file, copy the following into it, and then upload the web.config file to the site root:
<system.webserver>
(3) If your web server is IIS6, then create a httpd.ini file, copy the following into it, and then upload the httpd.ini file to the root directory of the web site:
[ISAPI_Rewrite]
RewriteRule /page_([0-9]*)\.html /index\.php\?page=$1&rewrite=1 [I, L]
RewriteRule /date-([0-9\-]+)(?:_)?([0-9]*)\.html /index\.php\?date=$1&page=$2&rewrite=1 [I, L]
RewriteRule /author-([0-9]+)(?:_)?([0-9]*)\.html /index\.php\?auth=$1&page=$2&rewrite=1 [I, L]
RewriteRule /tags-([0-9]+)(?:_)?([0-9]*)\.html /index\.php\?tags=$1&page=$2&rewrite=1 [I, L]
RewriteRule /category-([0-9]+)(?:_)?([0-9]*)\.html /index\.php\?cate=$1&page=$2&rewrite=1 [I, L]
RewriteRule /post/([0-9]+)\.html(\?.*)? /index\.php\?id=$1&rewrite=1 [I, L]
RewriteRule /([0-9]+)\.html(\?.*)? /index\.php\?id=$1&rewrite=1 [I, L]
Step 5: In general, most of the site's server is apache or IIS, through the above method can be solved. Before setting the pseudo-static, we must first determine whether the server host supports pseudo-static, if you do not find support for the host provider to open or replace the host, if supported, we must know your server is apache or IIS, before I mistakenly believe that their The host is apache, and then always get it, the results found that IIS. If you do not know which version of IIS to use, you can try both ways, there should be one is fine.
Step 6: Re-open your site, you will find that has been successfully pseudo-static. If you have any questions, you can visit http://www.yedward.net/post/12.html, go here to see details.