【发布时间】:2014-10-18 18:10:09
【问题描述】:
您好,我在通过 .htaccess 重写我的 URL 时遇到问题
PHP 信息: 服务器 API CGI/FastCGI 主机设置: Apache mod_rewrite 开启
当前网址布局:
http://www.xxxx.at/beitrag.php?thema=Bitcoins%20fuer%20jedermann%20gratis
通缉:
http://www.xxxx.at/beitrag/Bitcoins%20fuer%20jedermann%20gratis(可以 我可能也将 %20 更改为“-”?)
我已经创建了一个 .htacces,它看起来像:
RewriteEngine On
RewriteRule (.*)_(.*)\.html$ /bitcoins.php?to=$1 [qsappend,L]
但 URL 看起来还是一样,没有任何变化。
有人可以帮帮我吗? 问候
【问题讨论】:
标签: php apache .htaccess url mod-rewrite