I've been trying many different examples I browsed on this forum and other websites to create the urls more user friendly with no success. I'll try my luck with all of you experts here.
I've got a structure of my url that looks like this:
index.php?mod=post&id=10
The mod parameter can contain an array of different keys, each one will include a defined module to the template.
I was hoping to achieve something similar to:
my-url.com/post/10
At the moment I am only interessted to change the url when the value of mod
equals to post
.
Any ideas and suggestions are welcome.