I think you misunderstood me here. I am not getting a 404 error message!.If I use a path that does not have an existing post or archive and is not catched by the Cornerstone layout logic, yes then I get a real 404 error or if I use theme.coâs custom error page then this one.
Itâs not a bug, itâs a feature
But I get the content that I have defined in Cornerstone only as a layout. Which I think is wonderful, because it opens up new possibilities for defining paths without a post.
This generated page is only declared as a 404 error although it actually works perfectly. The error404 class in the body tag could still be ignored, but the message in the tab window âPage not foundâ is simply unattractive.
The best thing about it all is that even more dynamic combined values can be queried. For example, the following condition:
{{dc:url:segment index="0"}} is _date and
{{dc:url:segment index="1"}} is {{dc:global:date format="Ymd"}}
And you get something like this:
simply marvellous!
To show this functionality a bit more on a real world example is that I could use it for a golf club that loads tournament lists via an XML API interface. The individual tournaments could also be queried via this interface and I could retrieve the information about a single tournament with the following URL.
golfclub.tld/tournament/214
where 214 is the number for the single tournament. So I would have the individual tournaments like pages with their own URL without them having to be available as real post entries.
I have sent you two links and the access data to demonstrate this. So please, maybe there is a way to use this wonderful feature without this little cosmetic bug.