久久久无码精品成人A片小说,国产亚洲精久久久久久无码77777,影音先锋中文字幕人妻,6080YYY午夜理论片中无码

IIS7的wordpress偽靜態(tài)設置


部分使用香港虛擬主機的用戶在win空間下不懂得如何配置偽靜態(tài),win空間采用iis7+版本,通過web.config配置文件進行偽靜態(tài)設置,而且php版本也是通過該文件進行配置。

您需要將php版本設置為5.4并且把下面的偽靜態(tài)腳本寫入web.config文件中,下面是rewrite代碼

<rewrite>
      <rules>
                <rule name="Main Rule" stopProcessing="true">
                    <match url=".*" />
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
                        <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>
                <rule name="wordpress" patternSyntax="Wildcard">
                    <match url="*" />
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="index.php" />
                </rule>
       </rules>
    </rewrite>

 

當然,老樣子,這邊已經(jīng)為您制作好一份Php5.4設置和偽靜態(tài)的wordpress4.5的偽靜態(tài)文web.config文件了,您只需下載后,放到web目錄內(nèi)即可。

點擊下載wordpress偽靜態(tài)腳本

免實名域名注冊