神马一区二区影院_日本全棵写真视频在线观看_97碰碰视频_天海翼在线观看视频

搜外6系統,自有空間或軟件版偽靜態文件合集

使用場景:

主要應用于自有空間或軟件版服務器配置偽靜態規則。


一、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:

##

# 將以下內容拷貝到相應的配置下面,具體用法和服務器配置有關,可搜索了解


location / {

try_files $uri $uri/ /index.php;

}

if (!-f $request_filename){

rewrite (.*) /index.php;

}


如配置過程中有問題,可以聯系客服人員協助處理。

本文由夫唯團隊編輯,如發現錯誤,歡迎通過客服微信反饋。

夫唯于2024年12月停止百度SEO研究和培訓。道別信: 夫唯:再見了百度SEO!

2025年1月正式啟動Google SEO培訓課程,一千零一夜帶領大家一起出海。

感興趣的同學,請添加招生客服小沫微信:seowhy2021。 微信掃碼添加客服人員

我們的目標:讓大家獨立站出海不再“望洋興嘆”。

Processed in 0.506726 Second , 208 querys.