I am working on a website with a CMS that reads the page as the name of the query string, e.g.
http://exmaple.com/?pagename. I am trying to create a rewrite rule to rewrite it to with the ?.
So, a user types in /pagename and is really taken to /?pagename
Try this: