What I want is a rule that is like the following, but won't break when you forget the slash in the URL:
RewriteRule ^(.*)/$ \?page=$1
With the above code, I can type in "http://mysite.com/funpage/" and it is the same as "http://mysite.com/?page=funpage" but if I accidentally forget the slash at the end of the url, the server returns a 404 page.
I tried the below code but it returns a 500 page:
RewriteRule ^(.*)$ \?page=$1
I would like it if it could work either way--with or withour the trailing slash.
Any help is appreciated