Apache automatically splits multiple slashes into a single slash in the RewriteRule pattern.
If you want to capture multiple slashes, use RewriteCond instead:
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} ^/(.*)$ RewriteRule ^ index.php?url=%1 [QSA,L]
source share