URL modification/rewriting -
i wonder how possible make compatible both os depending if host website on windows or linux
for example of link should rewritten: old: yourdomain.org/index.php?menu=register&action=create new: yourdomain.org/index/register/create
i'm sorry if not correct board or something, hope made myself clear.
this should work rewrite url
http://yourdomain.org/index.php?menu=register&action=create
to
http://yourdomain.org/index/register/create
rewriteengine on rewriterule ^index/([^/]*)/([^/]*)$ /index.php?menu=$1&action=$2 [l]
Comments
Post a Comment