This question may be related to a resolved thread.
Hey all,
So I normally edit templates as files, and then when my changes are all made and tested, I turn that feature off for improved performance.
I decided to change my template structure, so I deleted a template in my “main/default” template group called “events” and wanted to move all entries that used that template to its own template group/ template which I named “events/index”
After I made this change, the site seems to function the same way as previously (e.g. the pages only load when given the proper templategroup/template structure), but when I print the {url_title_path} of the events that use that template, it fails to print the /events/ template group in the URL (essentially it “skips” printing the template group in the url).
I’ve tried reverting my changes, and updating entries/ setting in the control panel, but nothing seems to work.
To summarize:
Old
{url_title_path} was http://www.domain.com/events/event-title-url-slug
New
{url_title_path} is http://www.domain.com/event-title-url-slug (which, when visited, produces a 404 page)
I don’t know if there’s something I can “reset” or what would be the best way to debug this. Thanks!