Sign in

Nest page urls / sitemap

  • This topic has 1 reply, 2 voices, and was last updated 3 weeks, 5 days ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8134
    Avatar photoPluimpje

    I have some articles which fall under a category (tag). This category (tag) has its own overview page. site.com/category with information about the topic. Then I have the article about this category at site.com/article. I would prefer if this were site.com/category/artcile, is this possible?

    The same applies to the sitemap, right now each page is on the same level, could I have my articles nested under their category (tag)?

    #8135
    Avatar photoseb_oi

    site.com/category/artcile

    Hi, the easiest way I can think of to do that is to upload those articles manually in publii/webssitename/input/root-files (you should also include the index that lists the articles in the tag) and then modify the sitemap.

    Ideally, you should copy the folders generated in the output that contain the index of the articles, then hide or delete them in publii.

    If you want a slug that is site.com/category/artcile you should go to the folder input/root-files and create a new folder called category and inside this folder paste the folder containing the index of the article you copied from the output.
    input/root-files/category/article1/index.html

    I don’t know if there is a quicker or easier way to do this.

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