htaccess rewriterule for profile.php query – CentOS
I am trying to write a .htaccess RewriteRule for a profile page. I want the rule to query a SQL database for a user profile and if that data returns a result to load the profile.php page. Example: www.example.com/username or…