I have viewed similar questions to mine, but it does not pertain to my specific example.
1st URL (what is to be sent to the server and is originally inputted to the URL bar): www.site.com/?variable1=3&variable2=filename.php
2nd URL (what is shown to the user in the URL bar): www.site.com/filename.php
where "filename.php" is the same value as "variable2" in the original URL.
I have seen examples of the opposite, where someone enters the 2nd URL and it replaces it with the 1st URL, but that's not what I want.
Currently what I have:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^/([A-Za-z0-9]+)$ /?CommID=$1&FileName=$2 [NC,L]
which I got the structure from the link provided from this question, but that's not working.
I'm not trying to redirect, just mask the current URL so it is SEO friendly. I need to grab both variables from the URL to have the dynamic content be pulled correctly.
Any ideas?