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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:22:24
Original
1214 people have browsed it

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

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

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

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

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

回复内容:

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

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

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Latest Issues
Apache automatically stops
From 1970-01-01 08:00:00
0
0
0
apache restart failed
From 1970-01-01 08:00:00
0
0
0
apache error
From 1970-01-01 08:00:00
0
0
0
How apache logs
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template