• Resolved rajolalaina

    (@rajolalaina)


    Hello

    does the plugin have a hook that allows me to manually add custom urls from the site ?
    The page with custom url on my site not cached, how can I add them to cache ?
    Also, how can I add them in preload ?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • @rajolalaina Sorry you cannot add manually any url to cache, WP-Optimize scans the urls from sitemap.xml file and adds to preload, does your url is getting added to sitemap.xml file?

    Thread Starter rajolalaina

    (@rajolalaina)

    In short, these are custom pages that do not use the standard WordPress pages. We don’t want to index them in the sitemap but we want them to be cached. When i visit page on site, the wp-optimize cache not work.
    How to allow WP-optimize cache to recognize these pages and cache them? Is there a hook? A function? I need to add them in the sitemap for the cache to work?

    Thanks

    Thread Starter rajolalaina

    (@rajolalaina)

    I use add_rewrite_rule() hook to add element on urls page. Ex : ^my-page/([-a-z0-9]+)/?$

    I’ve domaine.com/my-page is cached,
    But, domaine.com/my-page/type-1, domaine.com/my-page/type-2 or domaine.com/my-page/other-texte not cached after visited page.
    I use this url format to avoid /?key=value in url where WP-Optimize Cache not work.
    Why cached not work with no parameter wp page ?

    Thanks

    @rajolalaina External pages are not cached by WP-Optimize, like I said if somehow you add the urls to sitemp.xml WP-Optimize will then cache the pages.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add manualy custom url to cache system’ is closed to new replies.