Home  >  Article  >  Backend Development  >  求助 apache 下discuz转换成phpwind伪静态问题

求助 apache 下discuz转换成phpwind伪静态问题

WBOY
WBOYOriginal
2016-06-06 20:22:241063browse

请问discuz转换成phpwind后伪静态如何设置可以将原地址跳转到现在的地址?

##XXX 为帖子 ID
当前连接为   http://domains.com/articles/xxx.html
原先为       http://domains.com/forum.php?mod=viewthread&tid=xxx

当前的伪静态规则(之前的站没启用伪静态)

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !.(js|ico|gif|jpe?g|bmp|png|css)$ /index.php [NC,L]

还请有经验的大牛不吝赐教 指点小弟一二 谢谢!

回复内容:

请问discuz转换成phpwind后伪静态如何设置可以将原地址跳转到现在的地址?

##XXX 为帖子 ID
当前连接为   http://domains.com/articles/xxx.html
原先为       http://domains.com/forum.php?mod=viewthread&tid=xxx

当前的伪静态规则(之前的站没启用伪静态)

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !.(js|ico|gif|jpe?g|bmp|png|css)$ /index.php [NC,L]

还请有经验的大牛不吝赐教 指点小弟一二 谢谢!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn