wordpress-seo
wordpress-seo copied to clipboard
Custom taxonomy tags added by Directorist plugin failed to open its respective SEO settings
- [ ] 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
- Install and Activate Directorist plugin - Business Directory Plugin.
- Go to Yoast SEO > Settings >> Categories and Tags
- Click the Directorist Categories menu. You will see SEO settings for it.
- 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
- 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
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.
Please inform the customer of conversation # 996719 when this conversation has been closed.
Please inform the customer of conversation # 1072770 when this conversation has been closed.
Have the same issue for
- Product Cats == Posts Cats (/wp-admin/admin.php?page=wpseo_page_settings#/taxonomy/categories)
- 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?
Issue merged to the generalized issue opened at here: https://github.com/Yoast/wordpress-seo/issues/20864