title: profile page url like facebook profile -php
body: <p>Could anyone please help me to use .htaccess file to customize the profile page url like facebook profiles and some other social networking sites like twitter .</p>
  
  <p>For all the users who are logged into my website the url is www.mywebsite.com/view/profile. But I want to change that url to www.mywebsite.com/username.</p>
  
  <p>Is there any other option other than .htaccess to customize profile link?</p>