You really shouldn’t need this, as you should be outputting the URLs via the API: get_tag_link
, get_category_link
, get_term_link
.
However, for the sake of answering the question, they’re stored in options:
get_option( 'tag_base' );
get_option( 'category_base' );
Related Posts:
- Root level category, tag, author and archive pages to work
- Categories and Tags returning 404 on the sidebar when using ugly permalinks
- Retrieve all posts within tag OR category?
- How get permalink for the current category or tag?
- Changing permalink from /postname/ to category/postname/
- Different templates for different category tags
- How do I retrieve the category ID (ugly permalinks) in my sub-navigation menu?
- Advanced permalinks structure
- How to add tags under categories
- Page Type with Category Link
- altering theme – content generated by PAGES not PORTFOLIO
- Woo Framework: woo_cat_featured not populating
- How can you change the permalink for pages?
- Custom SQL Query: Get all posts with category id and a concated list of tags on each post
- limit a list of tags to one category [closed]
- Inside a loop, how to change CSS class based on category name?
- Get category URL knowing it’s id
- Remove the parent name from permalink
- Have multiple category queries from the URL been fixed yet?
- Redirect single article permalink to paginated category page
- How to add a post without assigning to a category?
- How to get Next/previous_post_link to go through articles in top parent category
- Hide the word ‘category’ from my permalinks
- Related Tags not in category
- WordPress alphabetical A-Z custom post type post result display
- Question on using custom structures for categories
- scaleability of tags
- Is there a reason I cannot get the current category in a loop?
- Hierarchical permalink structure for posts showing categories and sub-categories
- Use the category name instead of category slug in permalinks
- How to Remove a Title from All Category and Tags Page?
- How do I add a tag slug to a category URL to filter posts?
- Getting the category title / description returns first matching post?
- How can I display tags as categories?
- Show the amount of posts in a tag in a specific category has
- How to Link to Most Recent Custom Post of Same Term
- Function to automatically rename the base category permalink
- How to get an array with all categories and corresponding names?
- Echo text using is_tag
- Cannon see subcategory in permalink
- Display all product tags associated with a specific product category
- How replace individual elements in the RSS feed with a single string
- Redirect Changed Permalink on wordpress
- Adding a H1 Tag to Post Tags automatically, but hide the tag? (Same for Category)
- Category url generate 404 error
- Allow user to select categories that will display in post loop
- How to remove one specific category (uncategorized) from post permalinks
- Insert HTML content in WP Query at specific point
- Custom Permalink with child categories creating 404
- How do I change the category permalink structure?
- Category page returns 404 error
- Tags Instead of Category
- Redirect year month day postname permalink structure to category postname structure
- Conditional category & tag statement
- Use blog as base for tags and categories
- category link not working for a specific slug, works for others
- Show post categories
- Add description to categories menu in admin
- filter a loop base on specific category
- Problem with multiple loops in wordpress theme
- Include either name or slug in the include parameter using wp_list_categories?
- List all posts of certain category which share some tags
- How to store category and tags separatly on wordpress?
- How can I filter posts by tag on the fly
- How to add icon over specific thumb
- url for posts for a date within a category
- Retrieve post tags from from main wp_query
- How to differentiate the homepage structure from the category page structure in WordPress template?
- Filter categories/tags to display in multiple metaboxes for selection in back-end
- Pagination breaks on child-categories, works fine on parent-category
- post_class remove tag- or category- from slug
- Is the part “category” fixed to an URL to an archive or post?
- Editing Loop So It Targets Specific Tags?
- prefix to post permalinks without affecting category permas
- How can I include custom category and tag base in template files?
- Pretty URLs with Categories and Tags
- Autolinking keywords in text with tags
- Category URL Management
- How to detect /category and /tag base pages?
- Maintaining a separate posts page for certain categories and don’t show those on home page
- Are tags different than categories?
- What is the best way to add an advanced / intermediate / beginner tag to a post
- Categories show 404 error on multisite installation
- Need help with major category and permalink re-organization
- Custom menu with categories and tags
- Subcategory Page URL to Display Only Posts from that Subcategory?
- WooCommerce shared categories
- Show Posts via cat+cat in URL that are in both Categories doesn’t work
- How to use category slug with a regular page
- Display all categories but only if they have posts in them that have a specific tag assigned
- display specific category when website loads
- Help to display the current categories and tags of a post
- Using custom structure prefix showing 404 for sub-categories
- Show the number of the post
- Automatically adding tags and categories into Post Excerpt for searching
- Can I show category name in url for only one of my categories?
- A different permalink structure for different categories
- Add Post Categories in Post Tags Field Programmatically
- Return all Tags and Categories in Separate List
- How to remove category name for only one category?