Structure Change Breaks Single Entry Page
Thanks again, Low, for all your support over the last few months. I'm a little puzzled about a final change on my site and I can't tell if it's related to Low Search or more about just simple url structure changes for channels.
When building/testing the site, my structure was at the root for the search page, the results list, and single entry templates:
/resources
/resources/results
/resources/single/[entry_title]
I've had to move the page one level down in the hierarchy, so now those pages are:
/the-journey/resources
/the-journey/resources/results
/the-journey/resources/single/[entry_title]
Now any single template gives a 404 error. Is there a change I need to make to a Low Search template? I did increment anything in my templates by +1:
url_title="{segment_4}" (was 3)
So I guess my question is if I needed to make any changes to Low Search with this kind of change? Or is this not related most likely?
Replies
Low 3 Jan 2019 07:18
Not sure how LS is involved here, unless you're using LS to display the entry on the single entry page. If that's the case, you should be able to reproduce the same issue with the native channel:entries tag, which would point to an issue with Structure.
From what I remember, Stucture changes the way native segmenting works, which could be an issue. You can try and enable template debugging to see what url_title="{segment_4}" actually equates to, looking up the full opening tag in there.
watermelonkid 3 Jan 2019 16:41
OK, I just wanted to rule out that LS somehow got involved as far as search->results->result. I'll keep investigating.