Aller au contenu principal

Advanced URLs / partial deployment

Commentaires

1 commentaire

  • Zendesk API User
    Author: mbergmann - 12/27/2019 10:25

    Hi Goran,

    the reason for the index_1.html files being created is that the calculation of the URL (or more precisely: the file path) is done before the template code is evaluated and the URL is considered "used" even if you use stopGenerate.

    As I understand, you have created the de and en subfolder because the menu structure is different for the two languages, correct? Those en/de folders are not identical to the "microsites" (i.e. one de and one en microsite) but the microsites separated on another level, right?

    Some ideas:

    1. Use the SEO-URLs mechanism

    Under "Global settings => URL settings => SEO URLs" you can define separate (starting) paths for each combination of language and template set for folders. The idea is to kind of "move the 'wrong' files out of the way". For the folder "Prvi/en", you could for example define the path as /Prvi/en for the english language and as as "Prvi/en-de-unused" for de - and vice versa for the folder Prvi/de. See also here: Documentation FirstSpirit SiteArchitect - Adding / editing a URL

    2. Use two partly generations in the schedule

    It might also work to split the partly generation of one microsite into two partly generations using the en flder as start node for one and the de folder for the other generation task. You could then limit each generation task to the desired languages, see here: Documentation for Administrators - Execute generation

    Regards,

    Michael

    0

Vous devez vous connecter pour laisser un commentaire.