I have a link http://mysite.com/myname
which shows the profile page.. But if i use multiple
slashes like http://mysite.com///myname
, it also shows the page..
My htaccess code is :
RewriteCond %{REQUEST_URI} ^/(\w+)/?$ [NC]
RewriteRule ^ profile.php?username=%1 [L,QSA]
How to avoid this problem?
Can someone help me?