Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SITEMAP [Bug]: #1313

Open
hadyman opened this issue Jan 10, 2024 · 8 comments
Open

SITEMAP [Bug]: #1313

hadyman opened this issue Jan 10, 2024 · 8 comments

Comments

@hadyman
Copy link

hadyman commented Jan 10, 2024

Operating system

windows 10

Publii version

0.44.4

Post editor

None

Bug description

Hello I launch this website https://prestaguardian.com/ with total of 4 pages

the sitemap generated here https://prestaguardian.com/sitemap.xml shows 6 pages

2 extra pages have been added why ? also those pages are a 2xduplication

https://prestaguardian.com/page/2/
https://prestaguardian.com/page/3/

Steps to reproduce

open the lastest version of PUBLII
create multiple pages
enable sitemap generation
publish your website online
check the /sitemap.xml/ file online

Relevant log output

No response

@dziudek
Copy link
Collaborator

dziudek commented Jan 11, 2024

Hi,

Do you have this option enabled?
scr

If not then it is a wrong configuration, not a bug

@hadyman
Copy link
Author

hadyman commented Jan 11, 2024

hello no it is not enabled https://disk.yandex.com/i/uk8SK2NzBqpZ5A
2024-01-11_18-57-15

@dziudek
Copy link
Collaborator

dziudek commented Jan 11, 2024

So please enable it and check the sitemap again :)

@hadyman
Copy link
Author

hadyman commented Jan 11, 2024

Ok but if I do so than Google will never index my home page :(

@dziudek
Copy link
Collaborator

dziudek commented Jan 11, 2024

It is regarding /page/X URLs not the homepage - you can enable this option and check that homepage has still index,follow while pagination pages uner /page/X has noindex,follow if you want to be sure :)

@hadyman
Copy link
Author

hadyman commented Jan 11, 2024

Ok because as i understand from documentation in PUBLII website regarding the home page

  1. I should enable HIDDEN PAGE here https://disk.yandex.com/i/fvEvuCb-iN1mAA
  2. I should switch to noindex, nofollow here https://disk.yandex.com/i/LBItyQT3AlSLHw
    are those 2 setting is correct, or should i reestablish them as standard setting ?
    2024-01-11_23-36-50
    2024-01-11_23-38-19

@bobmitro
Copy link
Collaborator

bobmitro commented Jan 13, 2024

If you decide to display the post on the front page, the most important step for SEO is to mark this post as hidden and add a 'noindex' tag when assigning it to the front page. This helps prevent duplicate content issues. However, since Pubii is a more blog-oriented CMS, the pagination for the front page is still generated in the header or sitemap, depending on the number of posts.

To circumvent this, you have a couple of options:

  1. either increase the number of posts per page beyond your current limit in the basic theme settings
  2. or, as @dziudek recommended in a prior comment, deactivate pagination in the site settings.

@hadyman
Copy link
Author

hadyman commented Jan 15, 2024

ok thank you lets see now how Google will rank the website

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants