Rewriting URL and MySQL Query -


i'm looking understand something, , i've not find explanations this. read :

how rewrite url? , in answer, can find :

2) rewriting product.php?id=12 product/ipod-nano/12.html

seo expert suggest display main keyword in url. in following url rewriting technique can display name of product in url.

rewriteengine on rewriterule ^product/([a-za-z0-9_-]+)/([0-9]+)\.html$ product.php?id=$2 

my question : how works ? how can retrieve words 'ipod-nano' rewriterule ????

does can me?


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -