html - Php query string url issue -


i've php page following string.

http://mydomain.com/businesspage.php?profile=khafihan 

so i'm trying convert url following style

http://mydomain.com/khafihan 

is possible php , how ?

thanks help.
regards.

you need put following lines .htaccess file:

rewriteengine on  rewriterule /(.*)$ /businesspage.php?profile=$1 

Comments

Popular posts from this blog

c - sscanf() double showing zeros -

pentaho - Carte Status / Kettle Slave Server Status page shows status for random runs instead of the latest run -