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