Asking this question gave me an idea. make the single-[posttype].php
and inside it just put
<?php wp_redirect(get_page_uri(get_page_by_path('your-page-slug')); ?>
also works with get_page_by_title()
This will direct the preview post and view post link on the admin create post page to the page you want.
Related Posts:
- Resolve a custom post type name vs. page permalink conflict (same slug)
- Load a script just to custom post type in admin
- Placing a Custom Post Type Menu Above the Posts Menu Using menu_position?
- Loading External Scripts in Admin but ONLY for a Specific Post Type?
- Customize Edit Post screen for Custom Post Types?
- Filter by custom field in custom post type on admin page
- Showing User’s Post Counts by Custom Post Type in the Admin’s User List?
- Merge two custom post types into one admin page?
- Remove the “View” Link in Post Admin
- Multiple custom post types under one admin menu
- How can I change the admin search posts fields?
- Custom post type: Add “Edit | Quick Edit | Trash | View” links to date (if title is not shown in column)?
- Custom post type yearly/ monthly archive permalinks
- Admin Area Custom Type Search By Meta Fields Without Title & Content
- Add “Last Edited by” column to custom post type list table
- How can I filter posts by post_parent in the admin?
- Filter custom post types in admin not working
- Custom post type admin search
- WordPress Custom Post Type is Matching on Partial Slug
- Ordering posts by custom taxonomy in admin area
- Create a dropdown with Custom Post Types as option in admin
- How to add custom columns to Custom Post Type admin screen
- How to Make an admin_notices Message That Disappears Once the User Leaves That Particular Page?
- Filter admin columns by custom post field value
- Is it OK to move admin menu items?
- Prevent reload confirmation after AJAX save
- Filter by custom Field for Custom post type Admin Listing
- jQuery UI in Admin (Best Practice?)
- Admin Post Update Redirection to Posts Screen
- Exclude add_filter from the admin
- Renaming Menu Item within Admin Menu Section for a Custom Post Type?
- Custom Post type sort order not working in the admin area
- Custom admin columns for ALL custom post types
- How to get search results in the backend admin on a custom post type?
- Add custom column to custom post type overview in backend
- How do I redirect all 404 errors of a specific post type to another URL?
- Unable to filter on field on edit.php page
- 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)?
- Disable single pages and archives and keep preview
- Custom Post Types Not acknowledged for date.php template
- No results searching custom post type in admin panel
- Bulk 301 redirect for custom post type
- How to add post_author column to custom post type
- Adding help information to custom post edit page
- Only Show an Author Their Custom Post Types
- Actions that Run on Admin Edit Page Load After Posts Are Queried
- Custom Post Type and taxonomies’s labels localization not working
- Change admin post thumbnail size for custom post type only
- Filters post in admin with dropdown select, custom post type
- 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
- Admin List Dynamic Heading
- How can I add a column in the wp_list_table of the admin area?
- Show admin help message across custom post type parent and child posts
- How to show custom (checkbox) field value in admin post list?
- WordPress User Roles, Custom Post Types, and Admin views
- Settings page above CPT page in admin section
- How to search CPT’s by meta query from the admin dashboard?
- Add theme options to custom post type admin pages [closed]
- Using WPAlchemy metabox values in another metabox
- Custom post admin filtering by post meta (the date)
- Admin Column Text Positioning
- Add text to wordpress admin ‘Add Post’ edit
- Changing ‘view’ link for custom post type on list post screen?
- Sort admin area by custom Event Date field
- How can I change the title of an Add New page in Admin for custom post type
- How to customize admin posts based on the user who is logged in
- Delete all custom posts then upload a new CSV of events
- How to override post-new.php with custom template
- Pagination in wp-admin for CPT
- Create an administation subpage containing posts in a certain category
- Custom 404 redirect for a luddite
- Redirect users in first login to a dynamic link
- Redirect sub-page URLs to parent without changing URL
- How to develop custom URL redirection
- Custom post type doesn’t display on admin list
- Customising the admin columns for a custom post type, but now most of the built in categories don’t display?
- Shared Custom post type between WP network sites
- Exclude categories For Custom post types
- Admin menu post type
- Redirect Custom Post Type after user submits update
- WordPress Author Posts Review After Every Change In The Same WordPress Post
- Redirection error after posting a comment on a custom type post
- Custom Post Type Causing Admin Sidebar UI Issue
- Redirect permalinks after creating custom post types
- How to change the default orderby from “Date” to e.g. “Title” or my custom column in content type records list in admin?
- Change column of row action (Quick Edit) links in WP_List_Table
- Collection of fields in a single post
- URL Redirection From Custom Type to Posts
- Prevent users from changing post status
- Display read only info on admin, custom post page
- Custom Plugin w/ Custom Post Types – Custom Posts Are Showing at all Privilege Levels – Is this possible to adjust?
- How to set the Screen Options for Users in the Admin Panel?
- Issue displaying multiple TinyMCE editors with WPAlchemy
- Admin menu link with variable
- Custom Post Type slug has the same Redirection entry
- Right Permalink for Custom Post Type with number slug
- How to set up a private custom post type that is accessible in the administrative dashboard?
- How to create alias / synonym links to existing posts