简体   繁体   English

在IIS7上针对Wordpress博客进行URLrewrite

[英]URLrewrite on IIS7 for wordpress blog

I have a wordpress blog installed in folder example.com/blog and now I want to use wordpress as CMS so I need to move wordpress to the root, the pages need to be in the root like example.com/page1 but I want that my blog posts will stay on example.com/blog/ with the defaults permalinks, example.com/blog/?p=123 我在example.com/blog文件夹中安装了一个wordpress博客,现在我想将wordpress用作CMS,因此我需要将wordpress移到根目录,页面需要像example.com/page1一样在根目录中,但是我想要我的博客文章将保留在example.com/blog/上,默认链接为example.com/blog/?p=123

How I do it via the web.config file on windows server? 如何通过Windows服务器上的web.config文件执行此操作?

除非我有误解,否则最好的选择是保留两个单独的wordpress安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM