多网站系统设置目录模式 sitemap.xml 无法访问

迅睿框架 更新 2025-08-13 11:05:49 llq

imageimage

image

多网站系统设置目录模式 sitemap.xml 无法访问

方案

  • 帝国织梦开发 #1 · 2025-08-13 09:54:57
    en的伪静态没设置成功
  • llq #2 · 2025-08-13 09:56:01
    帝国织梦开发 请问如何设置,在哪里设置
  • llq #3 · 2025-08-13 11:05:40
    满意答案
    本地使用iis服务器,需要在网站根目录创建web.config,配置如下,根据实际情况修改调整:<?xml version="1.0" encoding="UTF-8"?><configuration> <system.webServer> <rewrite> <rules> <!-- 主站点规则 --> <rule name="Main Site Rule" stopProcessing="true"> <match url=".*" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> <add input="{REQUEST_URI}" pattern="\.(js|ico|gif|jpe?g|bmp|png|css)$" negate="true" /> <add input="{REQUEST_URI}" pattern="^/en/" negate="true" /> </conditions> <action type="Rewrite" url="/index.php" /> </rule> <!-- /en目录规则 --> <rule name="EN Directory Rule" stopProcessing="true"> <match url="^en/(.*)" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> <add input="{REQUEST_URI}" pattern="\.(js|ico|gif|jpe?g|bmp|png|css)$" negate="true" /> </conditions> <action type="Rewrite" url="/en/index.php?path={R:1}" /> </rule> </rules> </rewrite> </system.webServer></configuration>
  • llq #4 · 2025-08-13 11:05:49
    @llq:已解决问题

迅睿系统漏洞

站群分站系统
站群分站系统(2026-10-15)
子站域名新增llms.txt访问
GEO系统
GEO系统(2026-10-14)
修复下载zip空白地址问题 修复流量复刻和任务队列错误
GeoSeo收录宝
GeoSeo收录宝(2026-10-14)
新增 站长工具箱 前端首页自动调用meta 数据
滑块验证码 Gocaptcha
滑块验证码 Gocaptcha(2026-10-13)
基于开源项目 go-captcha 的行为验证码插件,滑动拼图、区域...
GeoSeo工具箱
GeoSeo工具箱(2026-10-13)
优化巡检任务
GeoSeo排名助手
GeoSeo排名助手(2026-10-11)
加入大模型自定义
SEO聚合关键字
SEO聚合关键字(2026-10-11)
优化关键字列表页最多支持1万篇文章,过多会导致服务器扛不住;
CMS内容同步复制
CMS内容同步复制(2026-10-10)
增加时间是否更新的开关