wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

Custom taxonomy tags added by Directorist plugin failed to open its respective SEO settings

Open suascat opened this issue 1 year ago • 3 comments

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

Please give us a description of what happened

Custom taxonomy tags added by Directorist plugin failed to open its respective SEO settings.

To Reproduce

Step-by-step reproduction instructions

  1. Install and Activate Directorist plugin - Business Directory Plugin.
  2. Go to Yoast SEO > Settings >> Categories and Tags
  3. Click the Directorist Categories menu. You will see SEO settings for it.
  4. Click the Directorist Tags menu. You will be taken to the Category setting instead of the Tags settings.

Both Tags and Categories has same URL as given below:

​https://example.com/wp-admin/admin.php?page=wpseo_page_settings#/taxonomy/at_biz_dir-tags

Expected results

The Tags and Categories taxonomy should have a unique URL under the SEO settings page like WordPress default tags and category.

Custom post type category slug: at_biz_dir-category https://thpcopy.flywheelsites.com/wp-admin/edit-tags.php?taxonomy=at_biz_dir-category&post_type=at_biz_dir

Custom post type tag slug: at_biz_dir-tags https://example.com/wp-admin/edit-tags.php?taxonomy=at_biz_dir-tags&post_type=at_biz_dir

Actual results

  1. Both Tags and Categories has the same URL as given below:

​https://example.com/wp-admin/admin.php?page=wpseo_page_settings#/taxonomy/at_biz_dir-tags

Screenshots, screen recording, code snippet

image

Technical info

  • If relevant, which editor is affected (or editors):
  • [ -] Block Editor
  • [ -] Gutenberg Editor
  • [ -] Elementor Editor
  • [ -] Classic Editor
  • [ -] Other:
  • Which browser is affected (or browsers):
  • [ -] Chrome
  • [ -] Firefox
  • [ -] Safari
  • [ -] Other:

Used versions

  • PHP version: 7.4

  • WordPress version: 6.1.1

  • WordPress Theme: TwentyTwentyOne

  • Yoast SEO version: 20.3

  • Relevant plugins in case of a bug: Directorist plugin - Business Directory Plugin.

suascat avatar Mar 16 '23 09:03 suascat

Please inform the customer of conversation # 996719 when this conversation has been closed.

suascat avatar Mar 16 '23 09:03 suascat

Please inform the customer of conversation # 1072770 when this conversation has been closed.

amboutwe avatar Nov 16 '23 23:11 amboutwe

Have the same issue for

  1. Product Cats == Posts Cats (/wp-admin/admin.php?page=wpseo_page_settings#/taxonomy/categories)
  2. Products Tags == Posts Cats (/wp-admin/admin.php?page=wpseo_page_settings#/taxonomy/tags)

For reproduce change in permalinks: woocommerce_product_category_slug to categories woocommerce_product_tag_slug to tags

How to fix this?

darkvovich avatar Jan 30 '24 08:01 darkvovich

Issue merged to the generalized issue opened at here: https://github.com/Yoast/wordpress-seo/issues/20864

josevarghese avatar May 06 '24 08:05 josevarghese