-
Notifications
You must be signed in to change notification settings - Fork 43
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
Multilanguage sets unpublished pages as alternates #43
Comments
Strange, I tried and when I set |
That's odd. What I get back from So just to be clear. My default language is
What I see in my sitemap.xml for the default language on
Yes the page is not available in the sitemap for Is there something I'm missing here? |
I tested it again, but I cannot replicate the problem. Maybe send me your user/ folder on Slack so I can replicate on your same page structure and config. |
…ranslated list (#1482) * Remove unpublished pages from the translated languages, move into untranslated list Refs getgrav/grav-plugin-sitemap#43 * Add missing part * Add flags to avoid breaking changes
So I have a lot of multilanguage pages, but for quite a lot of them the parent language is set to
published: false
. What I do see in my sitemap.xml is that these pages are still included there (and generate a 404). What I expect is that pages which are not published don't end up as alternates in the sitemap.xml.Current situation where the EN version is set to published: false.
What I expect to happen:
Also I'm not 100% sure if it should set
rel="alternate"
if there is only one URL (and I guess no alternates). But I do expect the unpublished page not to be there.The text was updated successfully, but these errors were encountered: