I’m trying to create my own custom blog site (I currently use WordPress, but I’m not a big fan of it).
For this, I have created the site in the way that visitors will see it (main page, blog page, contact page etc.).
Now I want to build a CMS so I can actually add, remove and edit posts.
For this, I want to use a separate layout.
So my question is, how would I go about this?
I want everything that does not start with
https://localhost:8080/contact) to go the “main” site, and everything that does start with
https://localhost:8080/admin/post/edit?post=1234) to go to the cms section of the site (basically, just like WordPress)