I am trying to make a RewriteRule for some customer profile pages. I want them to be able to have a unique page address like "www.mywebsite.com/JoesPlumbing
". I want to use "JoesPlumbing" as my url variable. Below is what I tried and it did not work.
RewriteRule ^/?(.*)$ /profile.php?page=$1 [QSA,NC,L]