[Plugin: DB Cache Reloaded] new post's permalink goes to 404 (2 posts)

  1. carlla
    Posted 6 years ago #

    I have a simple plugin which create new posts (wp_insert_posts; actually an attachment) and return its permalink.

    After I enable the db-cache-reloaded plugin, I can't see the new post's content anymore, I get a 404 page instead. But, few minutes after, the same permalink get the page correctly (without any configuration or other change).

    What could be this behavour? I'd like to get the post content right after create it.

    I alrealdy tried to use filters ('attachment', '_posts|_postmeta', 'attachment|image'..) and changed the time to 1 minute, without sucess. The 404 page doesn't show up when the plugin is disabled.

    Any ideia? What filter could I use?

  2. carlla
    Posted 6 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic