I have a problem with htaccess redirecting a variable to clean url.
the code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php?page=$1 [R]
RewriteCond %{QUERY_STRING} ^page=about$
RewriteRule ^(.*)$ https://www.url.com/about? [R=301,L]
i just want to redirect this: "?page=about" to this: "/about"
and with the code above give me to many redirects...
Thanks for the time to look at this.