Introduction
I am trying to learn to create websites that aren't just static, and this is probably a 'noob' question but I can't seem to find an answer anywhere.
What I want to achieve
Let's say I want to make a forum/social media type website, I want url structure like this:
home: www.website.com
userpage: www.website.com/user/username
post: www.website.com/post/postid
What I can make right now
I've only played around in PHP and nothing like ASP.net but all I can do at the moment is this:
home: www.website.com
userpage: www.website.com/user/?user=username
post: www.website.com/post/?post=postid
How can I create site structure without the ?var=id
like you see on almost every website?
Examples:
www.reddit.com/r/subreddit
www.medium.com/user/post