Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Duplicate index post in /page/2 Editoral2 Theme

  • #7956
    Avatar photo[anonymous]

    I have my main index duplicated in /page/2
    The funny thing is that I don’t even have a post with id 2 (I deleted it some time ago). It generates a post identical to the main index. I have activated the option of concrete post in Front page and I can see how that same post is created with another slug and no idex. The totally detrimental thing is that this page/2 is with Index and follow in the robot tags. If I modify the pagination phrase it changes the path where this file is created, in site settings/url.
    my main index is duplicated

    How can I solve this?

    #7957
    Avatar photoBob

    I’m not sure if I understand well, but if you set the post to display on the front page you should mark it as hidden and also noindex.

    screenshot-2022-08-03-at-18.40.00

    #7968
    Avatar photo[anonymous]
    [anonymous] wrote:

    I’m not sure if I understand well, but if you set the post to display on the front page you should mark it as hidden and also noindex.

    screenshot-2022-08-03-at-18.40.00

    Thanks for the answer, I have created several pages and I have never had this problem.

    I have the configuration as you show in the image.
    I have my main page indexed: https://gfrprebartechnology.com/

    The “source” page which is not indexed and hidden.
    https://gfrprebartechnology.com/gfrp-rebar-technology/

    And this other page that is generated by itself and is a clone of the first one. https://gfrprebartechnology.com/pagina/2

    “pagina” is the pagination phrase that I have chosen (it is the only page that appears in that folder, I do not understand very well where it is generated).

    #7969
    Avatar photoBob

    I don’t understand how it works:

    This is a default main page : https://gfrprebartechnology.com/

    but what is this page: https://gfrprebartechnology.com/gfrp-rebar-technology/

    Both display the same content, which is impossible when you set the selected post to display on the frontpage; the fronpage should display only post content, not the posts listing.

    #7970
    Avatar photo[anonymous]
    [anonymous] wrote:

    gfrp-rebar-technology/

    I have configured the post as “hidden” and with the following slug: gfrp-rebar-technology/
    As I show in the image

    #7975
    Avatar photoBob

    So why the frontpage displays the post listing?

    screenshot-2022-08-03-at-19.27.05

    #7980
    Avatar photo[anonymous]
    [anonymous] wrote:

    <span style=”vertical-align: inherit;”><span style=”vertical-align: inherit;”>Entonces, ¿por qué la página principal muestra la lista de publicaciones?</span></span>

    captura de pantalla-2022-08-03-a-19.27.05

    It doesn’t really show the posts as such, I have used the style as if it did, they are links to the posts but it is not generating them automatically as you can see in the code.

    #7982
    Avatar photoBob

    I don’t think I can help you, because I don’t really understand what’s going on here.

    #7984
    Avatar photo[anonymous]
    [anonymous] wrote:

    I don’t think I can help you, because I don’t really understand what’s going on here.

    I understand it, it’s really weird. The best option I can think of is to create a new “site” in publii and copy page by page.

    Do you think I can have a problem creating a new site and uploading it to netlify with the tokens and id I have for my site?

    Will there be any “trash” files left because I uploaded it from the first site?

    Thank you very much for your answer. I really appreciate the project and support it. It is awesome

    #7985
    Avatar photoBob

    Send me (in the private reply mode) the site backup or “input” folder, I will look at it tomorrow.

    #7986
    Avatar photo[anonymous]
    [anonymous] wrote:

    Send me (PM) the site backup or “input” folder, I will look at this tomorrow.

    Thank you very much. I’m sending it right now. I updated publii a week ago, I don’t know if it could have anything to do with it.

    #7987
    Avatar photo[anonymous]
    This reply has been marked as private.
    #7988
    Avatar photoBob

    Change the value of the “Post per page” option (Theme Settings – Basic Settings) ) to more than the total number of posts, then pagination will not be created.
    Also, keep the “Disable homepage pagination indexing” option enabled.

    #7989
    Avatar photo[anonymous]
    [anonymous] wrote:

    Change the value of the “Post per page” option (Theme Settings – Basic Settings) ) to more than the total number of posts, then pagination will not be created.

    Also, keep the “Disable homepage pagination indexing” option enabled.

    Solved! Thanks for your support