rewrite - How to convert query string to url names -
my url ..../blogs?id=1&title=news
now need covert to
..../blogs/1/news
in .htaccess.
please how convert this. me.
use these lines:
rewriteengine on rewriterule ^blogs/(.+)/(.+)$ /blogs.php?id=$1&title=$2 [r,l,qsa]
Comments
Post a Comment