The basic idea is that you have a dynamic “template/view” that loads the information to display based on a variable in the URL.
For example. Assign URL www.domain.com/blogs/{slugName}/
=> render blogTemplate.html
blogTemplate.html
is just a static page with variable placeholders or whatever you want. On page load, the template checks the {slugName} variable, decides what to do with it, get the information matching that slugName and load the information into the page.
To get you started, you might want to look into Express for NodeJs (to handle routing (routing = defining URLs to match against templates (views) and learn what dynamic routing is (defining routes with variables in the URL that you can fetch, process, and render the associated content for.)
CLICK HERE to find out more related problems solutions.