I have made a custom PHP/Sql cms with a dynamic post template called blog-post.php
I am pulling in the content like so:
This allows me to pull in any number of posts using the same template, pulling info from the database.
I have spent 4 hours trying to achieve the following with htaccess ..
- Force a trailing slash instead of .php extension
- Force blog post urls to show as:
Any help is greatly appreciated.