I want to show a generalised URL for any page that is called from the server. The actual page name with .php extension should be hidden. For example:- http://www.abcd.com/Art-and-Design/Who- ... eat-Artist
instead of http://www.eabcd.com/read.php?url=Art-a ... eat-Artist
To do so I used the following code in my .htaccess file:-
RewriteRule ^([a-zA-Z0-9-/]+).html$ read.php?url=$1
RewriteRule ^([a-zA-Z0-9-/]+).html/$ read.php?url=$1
But this code is not working. Please provide any alternate solution or inform about any anomaly if present in this code.