Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

remove trailing slash

## Remove trailing slash
RewriteRule ^(.*)/(?.*)?$ $1$2 [R=302,L]
 
PREVIOUS NEXT
Tagged: #remove #trailing #slash
ADD COMMENT
Topic
Name
2+3 =