香港WINDOWS空间–Discuz!X3.5论坛伪静态规则
香港WINDOWS空间采用最新WIN2012R2系统,IIS8.5版本,DISCUZ论坛伪静态规则如下:<br /><?xml version="1.0" encoding="UTF-8"?><br /><configuration><br /><system.webServer><br /><rewrite><br /><rules><br /> <rule name="portal_topic"><br /> <match url="^(.*/)*topic-(.+).html\?*(.*)$" /><br /> <action type="Rewrite" url="{R:1}/portal.php\?mod=topic&amp;topic={R:2}&amp;{R:3}" /><br /> </rule><br /> <rule name="portal_article"><br /> <match url="^(.*/)*article-(+)-(+).html\?*(.*)$" /><br /> <action type="Rewrite" url="{R:1}/portal.php\?mod=view&amp;aid={R:2}&amp;page={R:3}&amp;{R:4}" /><br /> </rule><br /> <rule name="forum_forumdisplay"><br /> <match url="^(.*/)*forum-(\w+)-(+).html\?*(.*)$" /><br /> <action type="Rewrite" url="{R:1}/forum.php\?mod=forumdisplay&amp;fid={R:2}&amp;page={R:3}&amp;{R:4}" /><br /> </rule><br /> <rule name="forum_viewthread"><br /> <match url="^(.*/)*thread-(+)-(+)-(+).html\?*(.*)$" /><br /> <action type="Rewrite" url="{R:1}/forum.php\?mod=viewthread&amp;tid={R:2}&amp;extra=page%3D{R:4}&amp;page={R:3}&amp;{R:5}" /><br /> </rule><br /> <rule name="group_group"><br /> <match url="^(.*/)*group-(+)-(+).html\?*(.*)$" /><br /> <action type="Rewrite" url="{R:1}/forum.php\?mod=group&amp;fid={R:2}&amp;page={R:3}&amp;{R:4}" /><br /> </rule><br /> <rule name="home_space"><br /> <match url="^(.*/)*space-(username|uid)-(.+).html\?*(.*)$" /><br /> <action type="Rewrite" url="{R:1}/home.php\?mod=space&amp;{R:2}={R:3}&amp;{R:4}" /><br /> </rule><br /> <rule name="home_blog"><br /> <match url="^(.*/)*blog-(+)-(+).html\?*(.*)$" /><br /> <action type="Rewrite" url="{R:1}/home.php\?mod=space&amp;uid={R:2}&amp;do=blog&amp;id={R:3}&amp;{R:4}" /><br /> </rule><br /> <rule name="forum_archiver"><br /> <match url="^(.*/)*(fid|tid)-(+).html\?*(.*)$" /><br /> <action type="Rewrite" url="{R:1}/index.php\?action={R:2}&amp;value={R:3}&amp;{R:4}" /><br /> </rule><br /> <rule name="plugin"><br /> <match url="^(.*/)*(+*)-(+).html\?*(.*)$" /><br /> <action type="Rewrite" url="{R:1}/plugin.php\?id={R:2}:{R:3}&amp;{R:4}" /><br /> </rule><br /></rules><br /></rewrite><br /></system.webServer><br /></configuration><br />将此代码保存到web.config文件,然后上传到根目录即可,如有不明白的地方,可以随时联系我们的在线客服!香港<em>, </em>WINDOWS<em>, </em>空间<em>, </em>论坛<em>, </em>静态 是的,然后到后台管理→全局→SEO设置→URL伪静态,设置伪静态规则。 ............. 把伪静态放在服务器根目录 .............. <br />自营流量统计系统数据分析<img id="aimg_31273" aid="31273" src1="static/image/common/none.gif" zoom="https://www.dismall.com/data/attachment/forum/202408/14/085810rddftzdmthdeufvf.jpg" src="https://www.dismall.com/data/attachment/forum/202408/14/085810rddftzdmthdeufvf.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" alt="1723596651025.jpg" title="1723596651025.jpg" w="1200" />
頁:
[1]