How about href="https://wordpress.stackexchange.com/questions/32014/<?php echo get_post_type_archive_link( $post_type ); ?>"
, where $post_type
is your post type?
Further reading: Codex
Related Posts:
- Add extra parameters after permalink?
- Where, When, & How to Properly Flush Rewrite Rules Within the Scope of a Plugin?
- How to prefix post permalinks with /blog/ – without affecting custom post types?
- How to remove slug from hierarchical custom types in 3.5.2
- Remove slug in taxonomy url
- Disable permalink on custom post type
- Custom post type permalink is doesn’t show in admin
- 404 on child page when parent page slug is identical to custom post type
- custom post type and custom taxonomy permalink
- Is there a way to use regular categories with custom post types?
- rewrite get parameter with custom post type
- Dynamic taxonomy in permalink made all other posts NOT FOUND?
- Remove unwanted part of permalink custom structure from CPT url?
- Permalinks using event date (year & month) instead of publication date
- Including two taxonomies in a permalink structure
- WP Rewrite Rules – Custom post type & taxonomy
- Changing a custom post type “has_archive” after registered
- Remove base slug in CPT & CT, use CT in permalink
- Permalink Structure problem with cpt and custom taxonomy
- Clean URL permalink for custom post type
- dynamically update permalink and title with the values of custom fileds
- Writing Custom Rewrite Rules that Incorporate Category for Custom Post Types?
- Custom post type permalinks giving 404s
- Custom Taxonomies: Multiple Hierarchical Permailnks For A Single Post + Prev/Next Links
- Add the .html extension to custom post types
- Can’t edit Custom Post Type slug/permalink
- What is better: Custom Fields vs Custom Taxonomies with Terms for perfomance, scalability and better user experience
- Custom Permalink for Taxonimie and Custom Post Type
- Extend the wp_get_archives output with ‘?post_type=foo’?
- Permalinks without post type
- Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure
- Function to get permalink of custom post type archives?
- How to remove custom post type name from base url?
- How do I prefix blog post urls as mysite.com/blog/%postname%/ but allow authors to still be located at mysite.com/authors/%nicename%?
- Automaticly add slug to posts
- Different permalink for CPT and regular Posts/Pages but why?
- Custom post type, permalinks & pagination, going wrong
- Custom post type template and custom post page not working
- Permalink Structure CPT With Custom Taxonomy Fails
- Bizarre Permalinks Issue: 404 Errors Everywhere
- Making a custom help center page
- How to hook custom taxonomies to custom post types and make the permalinks work?
- WordPress Custom Post Type Repeated 404 Errors
- Child post with numeric only slug keeps redirecting to parent
- Can’t get custom rewrite tag, query var, permastruct (permalink structure), and rewrite rule to work properly together
- WordPress custom post type permalink rewrite shows page not found
- Removing custom post type slug from URL
- Customize Custom Post Type URL
- Remove CPT name from permalink but add %category% instead
- How to have this permalink structure: post_type/postname/custom_inner_page
- Additional section in custom post type permalink
- Custom post type, permalinks, taxonomies and blog posts
- Custom post type permalink returns 404
- Use the same date-based permalink structure for all post types
- “Post name” permalink returns home page for custom posts
- How to make permalink structure %category%/%postname%/ work for custom post type?
- Rewrite rule for Custom post type Monthly and Yearly archive
- menu link to custom post_type?
- Custom permalink with child taxonomy terms
- How do you create %post_type%/%postname%/ permalink structure?
- Problems with 404, .htaccess, permalinks and WordPress custom posts locally on Snow Leopard
- Can variables be used to rewrite a Custom Post Type permalink? [duplicate]
- Set parent for custom post type archive rewrite url
- How to rewrite the beginning and end of the permalink structure in a custom post type?
- How to get all posts related to particular category name on button click?
- WordPress custom permalink and archive link for custom post type
- Custom Post Type Archive template not being called
- How to setup a permalink structure for a custom post type
- add_query_arg() for custom post type on all visible links
- Add unique ID number to end of permalink
- WordPress custom posts and permalinks
- Custom post type, permalink, add query variables problem
- CPT permalinks Rewrite
- Custom Permalink For Custom Post Type – Working Fine But Broken For Pagination
- How to keep WP from creating a “single-post” page and let the user input the link of the post in the dashboard?
- Modify category permalink to use post type slug
- CPT relations use in permalinks under single post type
- CPT relations use in permalinks under single post type
- Custom Post Type Single Page and Archive Page redirects to Home Page
- How to change URL structure for custom post type in wordpress? Custom taxonomy + custom Post name [duplicate]
- hierarchical Custom post type child permalink not found
- Remove CPT Slug with 2 taxonomies and 1 post meta
- Allow duplicate permalinks slugs for custom posts by different authors
- Creating custom post type relationships
- Change wordpress url permalink structure to show authors posts
- Custom Post type and Taxonomy in post URL error
- Custom Post Type + Category archive
- Multiple Custom Post Type permalink issue
- Custom Post Types and rewrite rules – One CPT works and a cloned one doesn’t
- How to retrieve the permalink for a specific (custom) term?
- Permalink clashing with Custom Post Type rewrite rule
- What is the proper way implement a global $wp_rewrite?
- How can you preserve URLs when moving posts to a custom post type?
- Custom post types not using archive structure
- Single and Archive Pages with Custom Post Type
- 404 Error On Custom Taxonomy Pages 2, 3, etc
- How to add custom permalink struct with DYNAMIC author to a Custom Post Type
- Custom post type Premalinks main page and details page
- Permalinks for Custom Post Types and Taxonomies
- How to change permalink structure off default posts and also CPT’s posts