My current URL looks something like this
"portfolio/index.php?page=work"
I have written a rewrite rule in my .htaccess file to then swap this out so that the URL ends up looking like
"portfolio/work"
# ######################################################################
# # URL REWRITE #
# ######################################################################
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9]+)/$ index.php?page=$1
This is put at the top of my .htaccess page and I am using the HTML5 Boilerplate .htacccess file https://html5boilerplate.com/
Is there something that I am missing?
EDIT:
Added a pastebin of the full .htaccess file. The code is right at the top, and is slightly different than the original question as I was playing around to try get it working.