custom post types – Problem with customize page cached in WordPress.com

Question

I hosted my site on WordPress.com, now having a problem that I have a customize page that will random generate an ID then create and update database records(custom post type)(using wp_insert_post & update_post_meta) then redirect to another page(thank you page) with the ID(URL parameter). But seems the page is cached so if open the page continuous, it will not generate new ID just redirected to thank you page with the same ID previous generate. I have no problem in self-hosted development site. And WordPress.com told me that they can’t disable cache on specific page. Please help.

0
Sam Ng 2 months 2022-08-10T22:12:51-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse