php - Smart URLs using SQL table variable -
i know if possible generate smart urls through apace mod-rewrite in php website passing value of sql variable.
thanks!
this example apply to
/customer/detail/1234
, map to
/customer/detail.php?id=1234
rewriteengine on rewriterule ^/customer/detail/([0-9]+)$ /customer/detail.php?id=$1
you may want consider mvc framework other reasons in addition automating one.
Comments
Post a Comment