av蓝导航精品导航_国产精品69久久久久水密桃_超碰成人免费_国产精品调教视频

搜外6系統(tǒng),自有空間或軟件版?zhèn)戊o態(tài)文件合集

使用場(chǎng)景:

主要應(yīng)用于自有空間或軟件版服務(wù)器配置偽靜態(tài)規(guī)則。


一、IIS6:

#

# httpd.ini

[ISAPI_Rewrite]

# 3600 = 1 Hour

CacheClockRate 3600

RepeatLimit 32

RewriteRule /(.*) /index.php [L]


二、IIS7+:

<?xml version="1.0"encoding="UTF-8"?>

<configuration>

<system.webServer>

  <rewrite>

<rules>

<rule name="wordpress" patternSyntax="Wildcard">

<match url="*" />

<conditions>

<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>

</system.webServer>

</configuration>


三、Apache:

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteRule ^index\.php$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

</IfModule>


四、Nginx:

##

# 將以下內(nèi)容拷貝到相應(yīng)的配置下面,具體用法和服務(wù)器配置有關(guān),可搜索了解


location / {

try_files $uri $uri/ /index.php;

}

if (!-f $request_filename){

rewrite (.*) /index.php;

}


如配置過(guò)程中有問(wèn)題,可以聯(lián)系客服人員協(xié)助處理。

本文由夫唯團(tuán)隊(duì)編輯,如發(fā)現(xiàn)錯(cuò)誤,歡迎通過(guò)客服微信反饋。

夫唯于2024年12月停止百度SEO研究和培訓(xùn)。道別信: 夫唯:再見(jiàn)了百度SEO!

2025年1月正式啟動(dòng)Google SEO培訓(xùn)課程,一千零一夜帶領(lǐng)大家一起出海。

感興趣的同學(xué),請(qǐng)?zhí)砑诱猩头∧⑿牛簊eowhy2021。 微信掃碼添加客服人員

我們的目標(biāo):讓大家獨(dú)立站出海不再“望洋興嘆”。

主站蜘蛛池模板: 新宁县| 石泉县| 贵溪市| 大厂| 平泉县| 鄂尔多斯市| 中江县| 八宿县| 静海县| 沂南县| 安义县| 桓仁| 花莲县| 大安市| 宁南县| 潼关县| 绍兴县| 外汇| 宁明县| 武城县| 丹寨县| 水富县| 呼伦贝尔市| 通渭县| 东源县| 怀柔区| 岱山县| 柳河县| 永吉县| 大连市| 九寨沟县| 班戈县| 太保市| 东乡族自治县| 凤凰县| 延寿县| 长岭县| 上饶县| 仙居县| 滨海县| 绥化市|
Processed in 0.471181 Second , 208 querys.