I want to rewrite this type of URL
https://mywebsite.com/content/page.html?id=12&title=my-page-title
to
https://mywebsite.com/12/my-page-title.html
Using generateit.net/mod-rewrite/ I got the following rule:
RewriteEngine On
RewriteRule ^([^/]*)/([^/]*)\.html$ /content/page.html?id=$1&title=$2 [L]
But when tested on htaccess.madewithlove.com/ I get this:
The new url is https://mywebsite.com/content/page.html?id=content&title=page