I am developing a website in core php with custom cms. I am facing problem while making the blog url's seo friendly.
My Url is of this type and I want the url like websitename/blog/title If I fix it through htaccess file, that will be static because i want a single function which works for future blog posts as well. So Please Help me to solve this issue.