Wordpress-seo: Post type archive SEO options not displayed if custom post type archive slug is set

Created on 29 Jun 2018  路  5Comments  路  Source: Yoast/wordpress-seo

  • [x] I've read and understood the contribution guidelines.
  • [x] I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened.

I've upgraded the Plugin to the latest version and in the latest version the custom titles and descriptions for post type archives are gone. I can only set the page title for individual pages of that post type.

Please describe what you expected to happen and why.

I expected the settings for the post type archives under /wp-admin/admin.php?page=wpseo_titles#top#post-types. But they're not present anymore.

How can we reproduce this behavior?

  1. Create a custom post type with a custom archive slug value (I use the Types plugin)
  2. Go on /wp-admin/admin.php?page=wpseo_titles#top#post-types

It doesn't show the option

Screenshots

Old version
screen shot 2018-06-29 at 21 00 11

New Version:

  • doesn't include any options about the Archives of post types

Technical info

  • WordPress version: 4.9.6
  • Yoast SEO version: 7.7.2

Most helpful comment

Are you guys going to push this?

This is not so important for English websites, but for foreign websites, I tend to remove "Archive" string from the title, as it's not needed, and right now, there's no possibility of doing it (the possibility, for some reason, was removed with new Yoast version).

That screws with everything.

And I wouldn't say it's related to #9826 (partly maybe), as this is asking to fix/bring back what was available, while the other one is to add a feature.

All 5 comments

I had this issue too with Yoast Version 7.7.2 and is fixed with PR #10212

When creating the CPT, I use a string on has_archive, example:

'has_archive' => 'view-all-products',

Are you guys going to push this?

This is not so important for English websites, but for foreign websites, I tend to remove "Archive" string from the title, as it's not needed, and right now, there's no possibility of doing it (the possibility, for some reason, was removed with new Yoast version).

That screws with everything.

And I wouldn't say it's related to #9826 (partly maybe), as this is asking to fix/bring back what was available, while the other one is to add a feature.

@vlaskiz This has already been fixed in here and is planned to be released in Yoast SEO v7.9.

@iamazik this shouldn't be released as late as in version 7.9. As @vlaskiz already said this is not so important for English websites, but for foreign websites, it's more important than you think, and it really screws the archive page SEO title. Not to mention that my customers, for instance, wouldn't accept such string as 'Archive' appearing in the title, because the translation for 'Archive' in my language sucks. I had all my websites downgraded to version 7.6.1 to "fix" this issue.

Anyway, you guys should fix this bug for version 7.8.1! It shouldn't be a big deal since this plugin is version controlled using GIT.

Please, consider that thousands of websites use your plugin and they are not in English.

Was this page helpful?
0 / 5 - 0 ratings