Advertisement
krot

htaccess редирект слэш в конце

Feb 1st, 2016
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. RewriteCond %{REQUEST_FILENAME} !-d
  2. RewriteCond %{REQUEST_URI} ^(.+)/$
  3. RewriteRule ^(.+)/$ /$1 [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement