Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

?id=$1&user=$2


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !..+$
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^/(.*)$ http://domain.com/$1/ [L,R=301] 

Source by www.sitepoint.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+2 =