You can use wp_redirect to do this.
function dashboard_redirect() {
wp_redirect( admin_url( 'edit.php?post_type=customposttype' ) );
}
add_action('load-index.php', 'dashboard_redirect');
Related Posts:
- Resolve a custom post type name vs. page permalink conflict (same slug)
- Possible to hide Custom Post Type UI/Menu from specific User Roles?
- WordPress dashboard, viewing CPT results in 504
- Displaying Custom Post Types In “At A Glance” Meta Box
- Show Custom Taxonomy Inside Custom Menu
- Adding Custom Post Type Counts to the Dashboard
- Custom post type yearly/ monthly archive permalinks
- WordPress Custom Post Type is Matching on Partial Slug
- How to Make an admin_notices Message That Disappears Once the User Leaves That Particular Page?
- How do I redirect all 404 errors of a specific post type to another URL?
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- How can I fix a slow redirect after form submit from frontend (no plugin)?
- Custom Post Types Not acknowledged for date.php template
- Bulk 301 redirect for custom post type
- Adding help information to custom post edit page
- How to redirect all pages of a custom post type [duplicate]
- Redirect to post with only post ID in the URL vs post_type/post ID
- Display only custom post type count for current author on the “At a Glance” dashboard widget
- How can I show some description in the “All Posts” view of a custom post type in Dashboard?
- Add custom post types stats to a custom dashboard widget
- Sending an email when a CPT is saved/updated (NOT when it’s created)
- How to set up htaccess to redirect a particular post type or subdirectory to HTTPS?
- Redirecting when changing custom post type slugs?
- Separate comment section for post type in dashboard
- Different permalink for CPT and regular Posts/Pages but why?
- Custom Post Type without an archive page
- Delete link on single-custom.php with redirection
- right_now_content_table_end function not working?
- Redirect page to first post in custom post type
- Custom Taxonomy Permalinks Redirection
- Create/Edit posts and auto-redirect back to listing page
- Custom post type redirected to homepage – how to debug
- Customize the Dashboard Menu Editor
- 301 redirect for converted post type
- redirecting improperly after updating custom taxonomy term when referring from CPT edit page
- filter custom post type by meta key in dashboard
- Child post with numeric only slug keeps redirecting to parent
- Team club with CPTs and user registration + user dashboard
- Cluster CPT posts to users based on ACF value from their profile on dashboard
- Redirect 404 page with ID in slug to associated page with same ID in slug
- redirect automatic page that serves custom posttype content
- Redirect custom post type category to other custom post type category
- Can slugs from posts and custom post types conflict?
- Some posts from custom post type to subdomains
- Changed permalink structure of CPT – should I redirect?
- Custom URL redirect in WP
- Redirect to archive is single post has a certain term assigned to it?
- Redirect to first child on Custom Post Type (without template)
- Create short URL with auto 301 redirect
- Check if user has custom post published redirection on WordPress
- List Custom Post Types in Admin Dashboard
- Custom Post Type archive redirects to home
- rewriterule not working
- Add data to post edit page, when post is published
- Modifying Dashboard edit.php
- Adding link to dashboard sidebar, nested under custom post type
- Custom taxonomy permalink without term, redirection to CPT slug
- redirect after submiting post for review
- allowing custom user role to access custom post type in wordpress admin
- Slow CPT in backend
- How best to structure multiple CPTs and tax within a ‘resources’ section
- Redirect Existing Post to CPT
- Faking “Same Slug Root, Multiple Custom Post Types” with Redirects?
- Issues with static pages redirecting towards home.php
- How can i redirect click to new admin page not to edit screen in post table
- Metabox collapsed by default
- Post Click Redirect to Custom URL instead of Single Post Page
- Custom page for creating/editing custom post type
- Pretty Permalinks with CTP and Taxonomies / Hierarchical
- Custom Function to redirect singular post if specific meta field is empty
- Custom Post Type canonical link / pagination redirecting to root
- Help Adding filter to Add Media button for custom post type
- How to redirect custom post type posts to one url with htaccess?
- How to override post-new.php with custom template
- Custom 404 redirect for a luddite
- Redirect users in first login to a dynamic link
- Redirect sub-page URLs to parent without changing URL
- Custom user roles
- How to develop custom URL redirection
- Add role privileges of the custom post type
- creating different edit screens for different roles
- Redirect Custom Post Type after user submits update
- Redirection error after posting a comment on a custom type post
- Redirect preview single post link to a page
- Redirect permalinks after creating custom post types
- Change column of row action (Quick Edit) links in WP_List_Table
- URL Redirection From Custom Type to Posts
- Allow certain part of a page to be easily updated for client?
- How can I make a custom post type that loops pages in a new dashboard page, each single page is a new dashboard page (all within the back-end)?
- empty dashboard for custom role
- Custom Post Type slug has the same Redirection entry
- How to exclude a certain CPT from a snippet for Dashboard box?
- Right Permalink for Custom Post Type with number slug
- How to create alias / synonym links to existing posts
- Post 2 Post: Getting connected ‘person’ from post author
- Search filter triggered & sort by custom post type
- How to get a custom field value of a custom post?
- Select event where start date is smaller than current date and end date is greater than current date
- Top Level pages in wordpress giving 404, but child pages working fine
- Ignoring slug capitalization on rewrite rule for custom post type archive page