Advertisement
niammuddin

htaccess remove extension URL .html

Oct 16th, 2017
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. RewriteCond %{REQUEST_FILENAME} !-f
  2. RewriteCond %{REQUEST_FILENAME} !-d
  3. RewriteRule ^mp3/(.*)\.html$ /mp3/$1/ [L,R=301]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement