I have a blog list. When I click on a blog I want to make the URL as the blog name like : www.domain.com/blog/my-blog-name.
In my blog list I have the link as blog/blogid(2/3/4) ex : www.domain.com/blog/1
When someone visit www.domain.com/blog/1 then the URL should be www.domain.com/blog/my-blog-name { the blog name will change as per the blog Id }
I did so many research on this but no luck. It would be great if anyone help me to get out of this.
I am using laravel 5.4. I am new to laravel also.