php 强制 URL 以斜杠结尾
强制 URL 以斜杠结尾 [代码片段(4行)]
RewriteCond %{REQUEST_URI} /+[^\.]+$ RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]
收藏文章
精彩图集
精彩文章
RewriteCond %{REQUEST_URI} /+[^\.]+$ RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]
@CopyRight 2002-2008, 1SOHU.COM, Inc. All Rights Reserved QQ:1010969229