Sign in

Is there a way to create posts automatically inside subfolders?

  • This topic has 4 replies, 3 voices, and was last updated 1 month ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8583
    Avatar photoseb_oi

    I am designing an online store and I would like to divide all the web content as follows: main / car / bmw / 5 series / 525m.

     

    Is there any way to do this without having to create all the folders by hand and modify the sitemap?

    #8584
    Avatar photopublii-slpa

    Posts are created under a directory named after the “slug”. This can be found clicking the gear in the upper right hand corner and clicking on SEO.

    To achieve your goal, it appears you want to create tags, then include the tags within the post – again click the gear and then click Tags. From there, you can add a menu and add your tag names to help a customer drill down to the products they want. When you include tag names in your menu, you are linking to tag pages. Tag pages show individual posts which would normally have content. I am assuming that your posts have product specific information which is good.

    It is not clear if you are using a storefront or what theme you are using. You may/may not need to modify the theme depending upon your results.

    I hope this helps. Let us know.

    Cheers!!

    #8602
    Avatar photocandidexmedia

    Additionally, I’d give these threads and posts a look if you’re interested in adding breadcrumbs:

    Breadcrumbs for Publii: https://cv.domagic.site/posts/breadcrumbs-for-publii

    Breadcrumb and multilanguage: https://forum.getpublii.com/topic/breadcrumb-and-multilanguage/

    #8664
    Avatar photoseb_oi

    Posts are created under a directory named after the “slug”. This can be found clicking the gear in the upper right hand corner and clicking on SEO.

    To achieve your goal, it appears you want to create tags, then include the tags within the post – again click the gear and then click Tags. From there, you can add a menu and add your tag names to help a customer drill down to the products they want. When you include tag names in your menu, you are linking to tag pages. Tag pages show individual posts which would normally have content. I am assuming that your posts have product specific information which is good.

    It is not clear if you are using a storefront or what theme you are using. You may/may not need to modify the theme depending upon your results.

    I hope this helps. Let us know.

    Cheers!!

    Thanks for your answer, maybe I didn’t explain correctly. I have created a web page in 2 languages with their respective directories

    http://www.example/es/spanish.html
    http://www.example/en/english.html

    The problem is that to achieve this I had to create “by hand” the posts and their respective folders in input/root/files, and create by hand a sitemap compatible with multilanguage and modify the schma.

    This is not very complicated for very small sites. But on a large site it is a tedious task. I would simply like that just as you create a new folder and an index inside it when you create a tag, that the posts can be put in that folder.

    I’m sorry for my words, I don’t know how to explain it very well.

     

    #8665
    Avatar photoseb_oi

    Additionally, I’d give these threads and posts a look if you’re interested in adding breadcrumbs:

    Breadcrumbs for Publii: https://cv.domagic.site/posts/breadcrumbs-for-publii

    Breadcrumb and multilanguage: https://forum.getpublii.com/topic/breadcrumb-and-multilanguage/

     

    I had not heard anything about breadcrumbs.

    Is it a kind of navbar? Or are you telling google that your html layout is like this? Sorry for my ignorance.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.