多网站系统设置目录模式 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:已解决问题

迅睿系统漏洞

GeoSeo工具箱
GeoSeo工具箱(2026-11-30)
新增内容创作工作台 优化CSS样式归集
分类信息
分类信息(2026-11-30)
分类信息把招聘、房产、二手、本地服务和商家收成同城门户。访客按开通城...
AI文章生成器
AI文章生成器(2026-11-30)
优化模型思考模式配置
小黄人工具箱
小黄人工具箱(2026-11-28)
新增模块列表栏目树功能
留言板
留言板(2026-11-28)
可用于在线留言,预约,反馈,询盘,后台可查看留言信息和审核
签到管理
签到管理(2026-11-27)
修复失效图标
站长工作台
站长工作台(2026-11-27)
1 新增 网站信息自定义字段支持删除功能 2 新增 网站信息--...