Rewrite rule - is this possible?
I have been reading this - https://24ways.org/2013/url-rewriting-for-the-fearful/ and am trying to get my head around the concepts.
I have a 2 page list detail that results in the detail page url:
https://www.domain.co.uk/detailpage.php?s=title-of-page - which looks a bit clunky
My question is, is it feasible to rewrite this to just...
by using an htaccess file with something like...
RewriteRule ^([a-zA-Z0-9-/]+)$ /detailpage.php?s=$1 [L]
Or am I still miles off?