I have been wondering what the best ways are to be able to have some sort of dynamic fields for e.g. landing page structured page where there are several different sections having data like text, slideshow, gallery and whatsoever and i was thinking about the ways to get it done.
my attempt would be each section is done as a subpage while
snippet (contains html + data output)
blueprint contains fields / data entry (need to add to parent page blueprint “template”)
template (which basically would just redirect if someone calls the subpage directly)
then my structure will be e.g.
then calling the snippets in a foreach loop similar to this:
my main issue with this is, having to write a lot of blueprints and having a lot of files
i am also not sure how this would be a pro or con for seo… as url’s for images and stuff
so i am really wondering if there are other attempts to have reusable section/snippets to use in some sort of building process. some sort of a more convenient “add field/data” way of doing it.
An alternative to the modules plugin would be the page builder plugin. But this can easily get messy if you have many section per page.
From a “having to create many blueprints” perspective, it doesn’t make any difference if you use subpages or modules, because modules are subpages.
From a “SEO-perspective”, modules and subpages are identical as well. However, to avoid file URLs to point to subpages, you could either put these files into the home page folder and select from subpages, or reroute the images.
i would say its not a problem for SEO, for image / file URLS. If you think about it, if you were using a third party CDN for images like Cloudinary, you would have a completely different URL for images anyway. I really do’nt think search engines care where an image comes from, just that it has proper ALT tags etc. That is more important for SEO, along with good image optimisation.