I am working on a plugin that includes links for tags and categories and I want the user to be able to click a link and go to all tag results or category results.
The problem is that the structure for loading all tags/categories seems to change depending on your permalink structure. For example, on my home system it's url/?tag=name where on permalink is url/tag/name.
Is there a simple way to link to the tag or category listings without testing the permalink structure.