Title: Bug when article is private or draft
Last modified: June 6, 2022

---

# Bug when article is private or draft

 *  [anjelicarivera](https://wordpress.org/support/users/anjelicarivera/)
 * (@anjelicarivera)
 * [4 years ago](https://wordpress.org/support/topic/bug-when-article-is-private-or-draft/)
 * I’ve published a new language version of my website after using a cloner tool(
   so all language links will remain intact).
 * Eg:
    Page 1 has a French, English and Turkish version.
 * Yet, if the Turkish post is in “draft” or “private”, it will still show it as
   a hreflang on other language versions, which is just a mess.
 * Example of source code private of a private post (not adding the link because,
   well, it’s private): [https://i.imgur.com/tvshGuI.png](https://i.imgur.com/tvshGuI.png)
   
   We then go to the French version to double-check: [https://fr.celltrackingapps.com/best-phone-finder-apps/](https://fr.celltrackingapps.com/best-phone-finder-apps/)–
   [https://i.imgur.com/z3ByaX4.png](https://i.imgur.com/z3ByaX4.png) – it links
   to the homepage.
 * But if we go to the homepage, it shows only the homepage being linked: [https://tr.celltrackingapps.com/](https://tr.celltrackingapps.com/)
 * Example of draft: [https://i.imgur.com/KkGu4eh.png](https://i.imgur.com/KkGu4eh.png)
   
   French version: [https://fr.celltrackingapps.com/sim-card-location-tracker/](https://fr.celltrackingapps.com/sim-card-location-tracker/)–
   [https://i.imgur.com/gLqhFqL.png](https://i.imgur.com/gLqhFqL.png)
 * Is there any way this can be fixed, so that when a post is private or a draft,
   it won’t add the hreflang to the page?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbug-when-article-is-private-or-draft%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [anjelicarivera](https://wordpress.org/support/users/anjelicarivera/)
 * (@anjelicarivera)
 * [4 years ago](https://wordpress.org/support/topic/bug-when-article-is-private-or-draft/#post-15713829)
 * Same thing happens with the author page, by the way:
    [https://celltrackingapps.com/author/isabel/](https://celltrackingapps.com/author/isabel/)
   links to [https://it.celltrackingapps.com/author/isabel/](https://it.celltrackingapps.com/author/isabel/)
 * But I don’t have that author on the Italian version 🙂

Viewing 1 replies (of 1 total)

The topic ‘Bug when article is private or draft’ is closed to new replies.

 * ![](https://ps.w.org/multisite-language-switcher/assets/icon-256x256.png?rev=
   2793358)
 * [Multisite Language Switcher](https://wordpress.org/plugins/multisite-language-switcher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multisite-language-switcher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multisite-language-switcher/)
 * [Active Topics](https://wordpress.org/support/plugin/multisite-language-switcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multisite-language-switcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multisite-language-switcher/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [anjelicarivera](https://wordpress.org/support/users/anjelicarivera/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/bug-when-article-is-private-or-draft/#post-15713829)
 * Status: not resolved