my htaccess code
RewriteCond %{THE_REQUEST} \s/detail\.php\?id=([_0-9a-zA-Z-]+)\s [NC]
RewriteRule ^temp/detail/%1? [R=301,L]
RewriteRule ^temp/detail/([_0-9a-zA-Z-]+)$ /detail.php?id=$1 [L]
make my url like
temp.example.com/detail/xxxxxx
from
temp.example.com/detail.php?id=xxxxxx
now i want to append .html at the end, so that url become like:
temp.example.com/detail/xxxxxx.html
I need and htaccass rule, which will make my url like above, but shouldn't behave like html.
Thanks