Home Custom PHP/SQL CMS htaccess rules
Reply: 0

Custom PHP/SQL CMS htaccess rules

user727 Published in June 19, 2018, 6:24 pm

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 ..

  1. Force a trailing slash instead of .php extension
  2. Force blog post urls to show as:


instead of


Any help is greatly appreciated.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.63141 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO