抱歉,您访问的页面不存在、已被移除或暂时不可用
如果首页和所有页面都显示 404,大概率是服务器伪静态规则没有配置。
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
}
rewrite ^/[a-z][a-z]/index\.php$ /index.php last;
rewrite ^/[a-z][a-z]-[A-Z][A-Z]/index\.php$ /index.php last;
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^[a-z][a-z]/index\.php$ index.php [QSA,L]
RewriteRule ^[a-z][a-z]-[A-Z][A-Z]/index\.php$ index.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="JVCMS Lang Index" stopProcessing="true">
<match url="^[a-z][a-z]/index\.php$" />
<action type="Rewrite" url="index.php" />
</rule>
<rule name="JVCMS Lang Index Region" stopProcessing="true">
<match url="^[a-z][a-z]-[A-Z][A-Z]/index\.php$" />
<action type="Rewrite" url="index.php" />
</rule>
<rule name="JVCMS" stopProcessing="true">
<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/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
你访问的链接可能已经过期、输错了地址,或者页面已被网站管理员移除。