2010-11-27 109 views
1

我已经安装的WordPress博客v2.9.2在我的网站在位置www.22shruti.com/blog/(共享IIS 7.0没有URL重写模块托管(没有管理员权限的托管共享IIS7服务器),PHP 5.2.13 FastCGI,WHB操作系统2008,没有URL重写模块安装。)如何安装WordPress的漂亮永久链接上安装

因为漂亮的固定链接从SEO的角度来看是有用的,当我尝试将WP固定链接设置更改为自定义“/% %%/%monthnum%/%postname%/“通过管理员,我在www.22shruti.com/blog/上获得以下消息:

”找不到对不起,但您正在寻找不在此处的东西。

什么是一步一步的解决方案,以实现在这种情况下所期望的永久链接的格式?帮助深表感谢

回答

3

我想你会在这里找到了答案 - How To Set Pretty Permalinks in Wordpress Runs On IIS 7我想你需要把一个web.config文件中的根文件夹,如:

<?xml version="1.0"?> 
<configuration> 
<system.webServer> 
<defaultDocument> 
    <files> 
    <remove value="index.php" /> 
    <add value="index.php" /> 
    </files> 
</defaultDocument> 
<rewrite> 
<rules> 
    <rule name="Main Rule" stopProcessing="true"> 
     <match url=".*" /> 
     <conditions logicalGrouping="MatchAll"> 
      <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> 
      <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> 
     </conditions> 
     <action type="Rewrite" url="index.php/{R:0}" /> 
    </rule> 
</rules> 
</rewrite> 
</system.webServer> 
</configuration> 
相关问题