您现在的位置是:首页 > 苹果CMS教程苹果CMS教程
苹果cms10伪静态规则大全
2025-11-18【苹果CMS教程】人已围观
简介
很多适合,出于SEO目的,我们需要对URL伪静态,以下是苹果cms10各个平台下的伪静态规则:1、Windows平台下
iis6.x下使用httpd.ini规则 [ISAPI_Rewrite]
#3600
很多适合,出于SEO目的,我们需要对URL伪静态,以下是苹果cms10各个平台下的伪静态规则:
1、Windows平台下
iis6.x下使用httpd.ini规则
iis6.x下使用httpd.ini规则
[ISAPI_Rewrite]
#3600 = 1 hour
#3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
RepeatLimit 32
RewriteRule (.*)$ /index.php?s=$1 [I]
2、Windows平台下
iis7.x下使用web.config规则
iis7.x下使用web.config规则
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="OrgPage" stopProcessing="true">
<match url="^(.*)$" />
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^(.*)$" />
<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>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="OrgPage" stopProcessing="true">
<match url="^(.*)$" />
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^(.*)$" />
<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>
3、Linux平台下
apache下使用.htaccess规则
apache下使用.htaccess规则
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine on
Options +FollowSymlinks -Multiviews
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>
4、Linux平台下
nginx下使用maccms.conf规则
nginx下使用maccms.conf规则
location / {
if (!-e $request_filename) {
rewrite ^/index.php(.*)$ /index.php?s=$1 last;
rewrite ^/admin.php(.*)$ /admin.php?s=$1 last;
rewrite ^/api.php(.*)$ /api.php?s=$1 last;
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
if (!-e $request_filename) {
rewrite ^/index.php(.*)$ /index.php?s=$1 last;
rewrite ^/admin.php(.*)$ /admin.php?s=$1 last;
rewrite ^/api.php(.*)$ /api.php?s=$1 last;
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
上述,苹果cms10伪静态规则源文件,下载地址:http://down.11dmh.com/weijingtaiguize.rar
如果你不清楚伪静态规则,如何应用在苹果cms10系统配置,点击这里查看苹果cms10伪静态配置教程
Tags:苹果CMS教程
很赞哦! ()
相关文章
随机图文
苹果cms播放器不能全屏播放解决方法(苹果cms怎么统一播放器
如果播放器被包含在 iframe 里,尝试在 iframe 上添加 allowfullscreen 属性。默认状态,通过为allowFullScreen=ture 是什么意思?允许全屏=true。也就是允
苹果cms10 Maccmsv10 站群深度定制版 开发日志新增日志模块
作为站群的重度使用者,深知作站痛点。从站长角度出发,解决痛点。非侵入式开发,基于Thinkphp框架,兼容苹果MacCmsV10。通过代理数据流程而实现的市面上最强
苹果cms如何设置采集间隔时间
置苹果cms采集间隔时间具体步骤:系统后台--网站参数设置---性能优化----采集间隔。默认3秒,为了采集不会出现异常,不推荐设置3秒以下的时间间隔。
苹果cmsv10多终端多域名设置方法
、找到【网站模板】,选择新上传的这个模板,【模板目录】这一项,就填写上面第三步去查看的模板目录名,可能是html,也有可能是html-my,具体的你看模板目录名称是