Q: Multiple slashes issue in URL To remove multiple slashes from, i have used the code as :
RewriteEngine on

RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]

Also the Mod Rewrite is on, but still not working as expected.
Is there anything i have missed?

A: There is absolutely no need for a RewiteRule and a RewriteCond here, just one simple RewriteRule will do: 
RewriteRule ^(.*)//+(.*)$ $1/$2 [R=301,L]

This will rewrite 2 or more / to just one (so it also rewrites /////// to / for example)
