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 /admin (eg. https://localhost:8080/contact) to go the “main” site, and everything that does start with /admin (eg. https://localhost:8080/admin/post/edit?post=1234) to go to the cms section of the site (basically, just like WordPress)
I’ve seen that one come along before
However, since I want to learn CakePHP as well, making it myself feels more rewarding and gives me more value in the long run.
Thanks for sharing it anyways, maybe somebody who comes along here later might want to use it