我的问题是:如何重定向url时,它包含一个"+“像goo.gl和bit.ly一个简单的例子http://goo.gl/gogl+它将被重定向到http://goo.gl/info/gogl
提前感谢。
发布于 2012-03-08 22:48:01
您所需要的就是.htaccess文件中的以下代码:
Options +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On
RewriteBase /
RewriteRule ^([^\+]+)\+$ info/$1 [L]https://stackoverflow.com/questions/9608779
复制相似问题