So I have this blog where I have two php files one serves as an index to all my blog posts
www.adityasastry.in/view.php?cat=1
the cat value stands for category I have three categories, programming, embedded systems and rant.
I want to change this something like www.adityasastry.in/1 should translate to www.adityasastry.in/view.php?cat=1
and another in the same directory(I can move this to a different directory if I want) which lets me view a particular blog post.
www.adityasastry.in/viewer.php?cno=32
I have indexed each of my blog posts with a number.
Ideally I want this to translate to www.adityasastry.in/1/32 if 32 is a blog post belonging to 1 category.
Please don't ask me what I have done cause I am not even sure this could be accomplished with PHP alone on a shared host !! I just selected couple of tags that I think are relavant to this.