how do i convert http://m.skuast.tk/?dir=saqib/mp3/MlnKY_vL/2NE1_-_I_Love_You.htm and similar url's on my site m.skuast.tk to m.skuast.tk/2NE1_-_I_Love_You.htm using .htacess . Thanx
help with .htacess to modify url
Collapse
X
-
not working see full htacess
Not Working
RewriteBase /
RewriteEngine On
RewriteCond %{REQUEST_URI} !-d
RewriteCond %{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} !\.php$
RewriteCond %{REQUEST_URI} !\.css$
RewriteCond %{REQUEST_URI} !\.jpg$
RewriteCond %{REQUEST_URI} !\.png$
RewriteCond %{REQUEST_URI} !\.gif$
RewriteRule ^(.*)$ /$1.php [L]
RewriteRule ^([^/]*)\.html$ /?dir=$1 [L]Last edited by allaie; 02.09.12, 13:17.
Comment
-
Originally posted by allaie View PostNot Working
RewriteBase /
RewriteEngine On
RewriteCond %{REQUEST_URI} !-d
RewriteCond %{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} !\.php$
RewriteCond %{REQUEST_URI} !\.css$
RewriteCond %{REQUEST_URI} !\.jpg$
RewriteCond %{REQUEST_URI} !\.png$
RewriteCond %{REQUEST_URI} !\.gif$
RewriteRule ^(.*)$ /$1.php [L]
RewriteRule ^([^/]*)\.html$ /?dir=$1 [L]
Comment
Comment