i am not sure how to debug my issue and have researched a few questions similar with no luck.
Here is my origanal URL http://localhost/title.php?title=test
What i was hoping to achieve http://localhost/title/test
I have edited my .htaccsess file to the following:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
RewriteRule ^.+/title/([0-9]+) title.php?title=$1 [QSA,L]
In title.php i use $_GET['title']
to retrive the data from my table and from my understanding from the question i linked above this should work.
Currently the page loads but no varrible is getting passed through.