Polylang & WordPress SEO robot settings bug
-
Setup
- WordPress 4.1.2 (clean install)
- WordPress SEO 2.1.1
- Polylang 1.7.3
- no other plugins installed
Settings
-
your permalinks settings
Custom Structure:/%category%/%postname%/ -
if you are using a static front page
no - your Polylang settings
- Default language: English
- URL modifications:
- The language is set from the directory name in pretty permalinks
http://localhost/wptest/en/my-post/ - Hide URL language information for default language: off
- Remove /language/ in pretty permalinks
http://localhost/wptest/en/
- Detect browser language: on (When the front page is visited, set the language according to the browser preference)
- Media: off (Activate languages and translations for media)
- Synchronization: none selected
Situation 1
Create a new page with language A. Edit the following on the WordPress SEO by Yoast Advanced tab:- Meta Robots Index: noindex
- Meta Robots Follow: Nofollow
- Include in Sitemap: Never include
Publish the page. Now create via the Languages metabox a translation in language B. Both robot settings have been copied from A to B, but the sitemap setting is set to the default Auto detect (shouldn’t this be automatically copied aswell?). Edit the sitemap setting and publish page B. Now both pages for languages A and B have the same SEO robot/sitemap settings.
Situation 2
Create a new page with language A. Do not set the SEO settings and publish the page. Then create a translation in language B. Now set the above robot/sitemap settings for and publish page B. Go back to page A, create the same settings and update. When you now go back to page B, only the sitemap setting remains but both robot settings are back to their defaults. If you now would edit the robot settings on page B and go back to page A, those settings would be wiped. You can go back and forth forever but never will both the robot settings be the same.
The topic ‘Polylang & WordPress SEO robot settings bug’ is closed to new replies.