I have problem in clean url in altervitsa hosting. Suppose
My url is url.altervista.org/index.php?id=10
And i want to change it to url.altervista.org/10.html
For this i make a change htaccess file which is
RewriteEngine On
RewriteBase /
RewriteRule ^([^/]*)\.html$ /single.php?id=$1 [L]
And
I tried some others like
Options +FollowSymLinks
RewriteEngine on
RewriteRule single/id/(.*)/ single.php?id=$1
RewriteRule single/id/(.*) single.php?id=$1
RewriteEngine On
RewriteBase /
RewriteRule ^([^/]*)\.html$ single.php?id=$1 [L]
But all of these are not working...
What should i do ?? My php version ia php5.4