I would like my current URLs:
http://example.com/files/528/Rabba%20Ho%20-%20Falak%20Shabir%20Song.html
To look cleaner like this:
http://example.com/files/528/Rabba_Ho_-_Falak_Shabir_Song.html
This is my current .htaccess file:
RewriteRule ^category/([^/]*)/([^/]*)\.html$ /index.php?pid=$1&ht=$2 [L]
RewriteRule ^category/([^/]*)/([^/]*)/([^/]*)\.html$ /index.php?pid=$1&page=$2&ht=$3 [L]
RewriteRule ^category/([^/]*)/([^/]*)/([^/]*)/([^/]*)\.html$ /index.php?sort=$1&pid=$2&page=$3&ht=$4 [L]
RewriteRule ^filedownload/([^/]*)/([^/]*)/([^/]*)\.html$ /fileshow.php?pid=$1&id=$2&ht=$3 [L]
How do I modify it to rewrite the encoded spaces and underscores?
%20
ie. spaces) they will be externally redirected, resulting in two requests to your server, which is not desirable.%20
from your page.