The perfect solution of WordPress pseudo-static under IIS6

Source: Internet
Author: User
Keywords WordPress before

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Before writing a "Windows2003 IIS6 perfect solution to WordPress pseudo static method", but also by a number of sites reproduced. Ashamed to say, Weven into a blog in this way a few days later, found that IIS will always burst out, the culprit is WordPressURLRewrite32.dll.

So in a limited time, I chose to use a dynamic Web site. After a long time, Baidu just slow down God, included dynamic page, removed the previous pseudo static page.

During a long period of time, only one article has been written, the blog is becoming depressed. Yesterday, the blog finally to the point of not open, so the upgrade, and rekindled the use of pseudo static idea, so Baidu again and again, testing again and again, found a more perfect WordPress than before in IIS under the pseudo static scheme.

The first is to install the rewrite component, my server is already installed with Isapi_rewrite3, no longer repeat, add utf-8 file in the site root directory. htaccess (it appears that the name used under Isapi_rewrite3 is. htaccess), The contents of the document are as follows:

Rewriteengine on

Rewritebase/

Rewriterule ^index\.php$–[l]

Rewritecond%{request_filename}!-f

Rewritecond%{request_filename}!-d

Rewriterule. /index.php [L]

When you are done, restart IIS, set the pseudo static path in the background, and fix it.

Before it seems to have tried this way, do not know what happened at that time did not succeed, now perfect solution, there will be no IIS hanging off the situation, since then, Weven into a blog and back to the pseudo static era.

Note: In this article copying code may appear in Chinese punctuation, please unify the English symbols to avoid errors. This article starts Weven into the blog, the original address: http://www.weiwencheng.com/wordpress/iis6-wordpress-rewrite/

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.