Hello I am working on a site http://mygradregistry.com. When user goes to link " http://mygradregistry.com/username " then it should display the content of page "http://mygradregistry.com/profile.php" . How I can achieve this requirement? If htaccess is the best method then how I can do it with htaccess?
Try this: Options +FollowSymLinks RewriteEngine on RewriteRule (.*)$ profile.php?username=$1 Code (markup):
When you say display content of the page are you referring to something like what stated above "profile.php?username=$1" or doing some other dynamic stuff with it?