业务经理

微信扫描以上二维码

028-61286886

技术咨询

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

迅睿系统漏洞

Excel导入与导出
Excel导入与导出(2026-10-21)
增加预设规则 内容更新:选择主表附表唯一值字段,如果这个字段有值就...
Bing站长数据
Bing站长数据(2026-10-21)
优化数据缓存 优化SSL通道降级
SQL工具箱加强版
SQL工具箱加强版(2026-10-21)
增加Sqlite3数据库直接备份 增加分卷备份
GEO系统
GEO系统(2026-10-21)
组合时不再把单词空格吃掉: 行内空格保留(如主词 SEO tools...
付费阅读
付费阅读(2026-10-21)
增加全站收费模式
外贸多语言建站
外贸多语言建站(2026-10-20)
修正DEEPL接口请求方式 增加接口日志显示
GeoSeo工具箱
GeoSeo工具箱(2026-10-19)
修正大众版兼容 优化城市落地页布局 新增城市随机模板配置
GeoSeo排名助手
GeoSeo排名助手(2026-10-19)
修复部分迅睿环境安装失败问题