Comment
Every webpage within the "cgd" directory of my live Codeberg Pages website returns a 404 error when accessed. This happens despite the fact that those pages exist within my git repository & are viewable locally. Strangely, the 404 page returned is a generic one; it is not the custom 404 page I wrote for my site.
Here are the affected pages that return 404:
https://lukelawlor.codeberg.page/cgd
https://lukelawlor.codeberg.page/cgd/topics.html
https://lukelawlor.codeberg.page/cgd/notes.html
https://lukelawlor.codeberg.page/cgd/exercises/index.html
Meanwhile you can view these pages' HTML by looking at the repo like so:
https://codeberg.org/lukelawlor/pages/src/branch/main/cgd/index.html
Also notice how the affected pages don't return the same 404 page as my custom 404 page which shows when there really is no page to be found:
https://lukelawlor.codeberg.page/nothing
So far I have tried updating the code of the affected pages, but that didn't fix anything.
Is this due to the directory being named "cgd"? I don't see how that could cause the problem because these pages used to be perfectly accessible with that name in the past.
Any help would be greatly appreciated!