Support » Plugins » [Plugin: Custom Post Type UI] 404 error – permalink not work

Viewing 15 replies - 1 through 15 (of 15 total)
  • I also have this problem after I exported the xml from one site (where I set up custom post types) to a new test site.

    I had this problem, and fixed it by accessing the Permalinks page and saving (just save, you don’t need to change anything). This will flush the WordPress rewrite rules.



    Im having this same issue, even after re-saving my permalink setting (/%category%/%postname%/). Anyone solve this yet?

    We were having a similar issue with a production site, and thought it was NextGen Gallery causing the problem (since that is where we most noticed the issue).

    Permalinks would break every time while:
    Editing a Post or Page
    Viewing a Post or Page in Admin mode
    Viewing (or changing) any settings for NextGen Gallery
    Viewing (or changing) any settings for HeadSpace2 (must activate ajax).

    Turned off all plugins, then turned on NextGen Gallery and Custom Post Type UI, testing “known break” actions between each. Custom Post Type UI caused the issue to start again.

    I compared the previous versions (back through 0.4.1) and found that flush_rewrite_rules(); had been removed at 139 (v.0.5.2). Adding that back in prevented permalinks from breaking.

    Turned the remaining plugins back on and re-tested, fix still seemed good. Haven’t put it on the live site, awaiting input.

    Sorry I can’t provide a patch at the moment.

    I’m having the same problem where I cannot access the post but get a 404 page instead. I have tried saving my permalinks and inserting flush_rewrite_rules(); in various recommended locations, but I am not able to solve the issue.

    I am using the Carrington JAM framework and the Custom Post Type UI. If someone can provide me with example of the code that fixes this issue or if someone has an idea of how to fix the issue, I would greatly appreciate it.

    Same problem for me, anyone found the solution?

    Same issue here, there’s a bunch of threads on this and no answers. I will keep posting as I find any solution.

    My charity site is very dependent on the custom post types and their permalinks. Having the issue since the upgrade to WP 3.1. I am looking forward to a solution.

    I fixed adding the following after my custom post types at the end of functions.php before closing the php


    You are a genius! Thank you sooo much.

    You are a genius! Thank you sooo much.

    not a genius, just found somewhere on this forum, glad to help.

    Does that flush the rewrite rules on every page view? Sounds like a performance hit.

    Also, there is a new version (0.6.2) since my suggested fix on 0.6.0. Which version are you using?

    I stopped using the plugin and created the CPT by my own on the functions.php, so no idea about an improvement on the plugin.

    And yes, should affect performance for sure, but my site is little and not so visited… works good for me now.

    Yeah I would say that using the flush_rewrite_rules(); is not best practice. Make sure that you don’t have a page named the same as a custom post type. That screws up the permalink structure and you will receive 404 errors.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: Custom Post Type UI] 404 error – permalink not work’ is closed to new replies.