• Resolved johnbuol

    (@johnbuol)


    Is there a hook (action/filter) or wp-config setting to manually add URLs beyond posts, pages, Custom Post Types, etc.? On a membership site, can the user pages created by a customized author.php in the theme be added to the cache? How can URLs created by tables outside of the the standard WordPress tables (wp_posts, etc.) be added to the cache?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Emre Vona

    (@emrevona)

    can you tell me a sample url please?

    Thread Starter johnbuol

    (@johnbuol)

    Thank you for the response!

    Example for the user page: http://localdevsite.local/user/billjones. This is created by a custom author.php in the theme using the username and the URL is created by an init action using wp_rewrite for every User account to reader “user” instead of “author”.

    Example for the page created by an external table: http://localdevsite.local/details/2. This is created by a template in the theme referencing a table called Details and Pods.io page with the last part of the URL being the ID.

    Both work as inteneded but neither is cached. I’ve read your documentation, search your site, and read through your source and can’t find a way to make WPFC cache these.

    Plugin Author Emre Vona

    (@emrevona)

    I guess that the pages are cached.

    Thread Starter johnbuol

    (@johnbuol)

    No, these pages are not being added to the cache and I’m asking how to do so.

    Plugin Author Emre Vona

    (@emrevona)

    are you working on the localhost?

    Thread Starter johnbuol

    (@johnbuol)

    Yes, on localhost. Posts, Pages, and CPTs are caching as expected, but these others are not. How can I get WPFC to add these?

    Plugin Author Emre Vona

    (@emrevona)

    wp fastest cache does not work on the localhost. I can check your site when it is live.

    Thread Starter johnbuol

    (@johnbuol)

    OK

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.