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

Hreflang is shown for drafts #277

Closed
diedexx opened this Issue Aug 4, 2017 · 2 comments

Comments

2 participants
@diedexx
Contributor

diedexx commented Aug 4, 2017

Version Information

  • PHP: any
  • WordPress: any
  • MultilingualPress: 2.7.1

Steps to Reproduce

  1. Create a post
  2. Translate/link the post by creating a new post

edit_product_ _yoast_ _wordpress

What I Expected

I expected to not see the draft posts linked in the hreflang. These posts result in a 404 for visitors and shouldn't be indexed, thus the hreflang shouldn't be there.

What Happened Instead

Because the posts are linked, the hreflang is still shown.
shop_seo_-_yoast

@tfrommen tfrommen added this to the v2.8.0 milestone Aug 4, 2017

@tfrommen

This comment has been minimized.

Show comment
Hide comment
@tfrommen

tfrommen Aug 4, 2017

Contributor

This is only true for logged-in users who are able to edit the according post. But yes, it doesn't really make any sense.

Contributor

tfrommen commented Aug 4, 2017

This is only true for logged-in users who are able to edit the according post. But yes, it doesn't really make any sense.

@tfrommen

This comment has been minimized.

Show comment
Hide comment
@tfrommen

tfrommen Aug 8, 2017

Contributor

Implemented in f417666.

Contributor

tfrommen commented Aug 8, 2017

Implemented in f417666.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment