I have a site where post content gets used as components on several pages. There's also some nested post content which makes it more complicated.
This is a problem in the WordPress search results, when Posts appear independent of the pages they are attached to. I have a redirect that attempts to redirect from the Post to the Page, but when a post appears on multiple Pages, which one is the Parent Page?
Is there a way to rewrite search results? I suppose you could display a Post for each place it appears? Would it make sense to do that?
xyz, if that is in a Post excerpt, any Pages that use it might also appear in the results. Although this might not be exactly what you are describing, at a very high level is this a general representation of the situation?