Menu
I am using the following code:
RewriteEngine On
RewriteRule ^booksearch/([0-9A-Za-z]+)$ booksearch/booksearch.php?ISBN=$1
RewriteRule ^booksearch/([0-9A-Za-z]+).
If I remove the second rule, it works and redirects url/booksearch/XXXXXX to booksearch.php?ISBN=XXXXXX.
I however also want url/booksearch/XXXXXX.php to load up booksearch.php?ISBN=XXXXXX
I have tried multiple different ways of writing it, but can’t seem to find the solution.
Any help?