Portfolio Archive Slugname for portfolio archive page is not updated
-
Hi I tried several themes (5) now all with the same issue. All clean installs with the new theme activated. If you have has_archive set to true for the custom post type the portfolio archive name and url are shown in the breadcrumbs path if you enable it in the yoast breadcrumbs settings. see image https://share.getcloudapp.com/rRugRJ1j If you change the slugname in the permalink settings for that archive page it is nicely added into the yoast_indexable table with the correct url. BUT if you change it again to something different that record in the yoast_indexable table is not updated and is still pointing to the old url. See image. https://share.getcloudapp.com/jkuAk78k I have tried 5 different themes and they all have the same issue. The permalink never gets updated anymore in the yoast_indexable table if you change permalinks after the first save of the permalinks. I have to delete the record from the table in order to get the correct url into that permalink and thus also in the page. The moment i turn off has_archive => false the issue is gone as that page is no longer part of the breadcrumbs path. The result is that the link in the breadcrumbs path for the portfolio archive page goes to a page that does not exist. 1) Steps You activate the theme and set the permalinks. 2) You set the yoast breadcrumbs settings to show the archive page in the taxonomy and the category for the Breadcrumbs for post types 3) You create a CPT post with category and view the category. You will see that the archive page in the breadcrumbs path points to the correct archive page. 4) Now change the permalink again for the taxonomy page to a new permalink. Just add some numbers 5) View again the cpt post. You will see that the archive page in the breadcrumbs path is still pointing to the old permalink. Even in the category pages breadcrumbs that page is still pointing to the wrong permalink. This has been keeping me busy now for days. How do i update that record after the save / change of the permalinks? Is there a yoast function one can call? Where does this go wrong? Is this a bug?
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Portfolio Archive Slugname for portfolio archive page is not updated’ is closed to new replies.