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

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -