伪静态规则如下:
httpd.ini
- RewriteRule ^(.*)/xuanshang.html(\?(.*))*$ $1/plugin.php\?id=reward_7ree:hall_7ree
复制代码 httpd.conf
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteRule ^(.*)/xuanshang\.html\?*(.*)$ $1/plugin.php?id=<span style="line-height: 1.5;">reward_7ree:hall_7ree</span>
复制代码 .htAccess
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xuanshang\.html$ plugin.php?id=<span style="line-height: 1.5;">reward_7ree:hall_7ree</span>
复制代码 Nginx.txt
- rewrite ^([^\.]*)/xuanshang\.html$ $1/plugin.php?id=<span style="line-height: 1.5;">reward_7ree:hall_7ree</span>
复制代码 web.Config
- <rule name="reward_7ree:hall_7ree_home">
- <match url="^(.*/)*xuanshang.html\?*(.*)[ Discuz_CODE_3 ]quot; />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=reward_7ree:hall_7ree&{R:2}" />
- </rule>
复制代码 添加好伪静态规则后,在域名后面添加:/xuanshang.html 即可访问。
|