My URL works when the forward-slash is removed at the end I want to achieve mydomain.com/folder/parameter/. Currently, the 'mydomain.com/folder/parameter' URL is working for me.
Options +FollowSymLinks
RewriteEngine On
# Redirect to non-www to www
RewriteCond %{HTTP_HOST} ^[^.]+\.[^.]+$
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Rewrite for user.php?u=xxxxx
RewriteRule ^city/([0-9a-zA-Z_-]+)?$ /city/index.php?u=$1 [NC,L]
RewriteRule ^information/([0-9a-zA-Z_-]+)$ /information/index.php?u=$1 [NC,L]
RewriteRule ^province/([0-9a-zA-Z_-]+)$ /province/index.php?u=$1 [NC,L]