Hi All Gurus,
I have a problem with rewriting the url shown to users. I have the following configurations for my website but I do not know how can I achieve my url to be rewrite from
www.mysite/foldername/files to
www.mysite/files.
Below is my configuration. Is this correct?
RewriteEngine on
RewriteCond /www/www.asiacni.com.sg/adnumber/$1 -d
RewriteRule ^/([0-9]{7}c?)/(.*)? /www/www.asiacni.com.sg/$1/$2
RewriteRule ^/([0-9]{7}c?)$ /$1/ [L,R]
RewriteRule ^/([0-9]{8}c?)/(.*)? /www/www.asiacni.com.sg/$1/$2
RewriteRule ^/([0-9]{8}c?)$ /$1/ [L,R]