WordPress.org

Ready to get started?Download WordPress

Forums

Safe Redirect Manager
Automatically create record on new post submit within a CPT (2 posts)

  1. murtrd
    Member
    Posted 1 year ago #

    I have a situation where I have a page called "blog" under a custom post type "insight", but I also have a custom post type called blog.

    Essentially what I'd like to do is create a blog under the custom post type "blog" and automatically have the URL with insight in it to go to the shorter URL.

    So upon creation of http://www.example.com/blog/blog-post-1, a Safe Redirect Manager entry is automatically made to redirect http://www.example.com/insight/blog/blog-post-1 to http://www.example.com/blog

    This seems like it should be possible with a post submit hook?

    http://wordpress.org/extend/plugins/safe-redirect-manager/

  2. Taylor Lovett
    Member
    Plugin Author

    Posted 1 year ago #

    So you want "http://www.example.com/insight/blog/*" to redirect to "http://www.example.com/insight/blog"?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.