スラッシュを補完する(Apache RewriteEngine)
運営しているサイトの被リンクをチェックした際に、最後のスラッシュがないままリンクされているものが、
いくつかあったので、以下のようにスラッシュを補完するように、.htaccessファイルに追加した。
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.[^/\.]+$
RewriteRule .* %{REQUEST_URI}/ [L,R]
You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.