My htacess code is:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /demo/kingstate/
RewriteCond %{THE_REQUEST} /detail\.php\?id=([^\s&]+) [NC]
RewriteRule ^ id/%1? [R=302,L]
RewriteRule ^id/([0-9]+)/?$ detail.php?id=$1 [L,QSA,NC].
my url changing from http://tinmandevserver.com/demo/kingstate/detail.php?id=1 to
http://tinmandevserver.com/demo/kingstate/id/1 by using a htaccess file but i want a url
like http://tinmandevserver.com/demo/kingstate/propperty-house-victoria.
this is first time i worked on htaccess code .