I've been struggling to get the permalink structure to be correct on my custom post types (at least, I believe this is what I believe the problem is at this point - please correct me if you think that's not the case). I'm using the CPT UI plugin.
<?php the_tags(); ?> on the CPT posts/associated page to display a linked list of each post's associated tags. The link that this generates is "mysite/tag/thetag", when I believe what it should be is "mysite/customposttype/tag/thetag" (or something similar). Additionally, if I go to the URL that I would expect to exist based on my understanding, nothing shows up.
The link to "mysite/tag/thetag" just displays a "Not Found" with a search bar, which is what the site's archive template is set to display if the tag page doesn't exist.
I tried creating a "tag-customposttype.php" template but this doesn't seem to be working at all.
I had a similar problem with creating the blog archives (as in, couldn't get the permalink structure to display properly, even after manually registering the post type in the theme's functions.php) and was able to solve it with the Archives for Custom Post Types plugin.
Unfortunately, this is site is running on localhost at the moment so I can't share the site itself, but I would love any help that you might be able to offer. I've spent hours searching the WP codex/forums/WP stackexchange/general internet for a solution and nothing has worked so far. Please let me know if there's any additional information that might be necessary - I've avoided pasting in any large blocks of code here because I think there may be quite a few areas where something could be going wrong. Thanks in advance!