Table of Contents
Problem Description #
After creating a page for the wishlist (with the required shortcode), the page works fine initially, but within minutes it becomes unreachable and shows a 404 error.
Common symptoms
- Initially, products are added to wishlists and displayed properly. Then visiting the wishlist page returns “404 Not Found”. WordPress.org
- Deleting and recreating the page yields the same behavior. Save‑permalinks doesn’t help. WordPress.org
Cause
- Likely interference by caching plugins (or server/CDN caching) that cache the wishlist page and serve a stale non-existing page or block dynamic routing. Suggested by support in forum. WordPress.org
- Clear all caches: clear any WordPress caching plugin cache, server-side cache, and any CDN cache (e.g. Cloudflare). Then reload the wishlist page.
- Exclude the wishlist page from caching: configure your caching plugin or server/CDN so the wishlist page (and possibly My Account / wishlist endpoints) are not cached. This ensures dynamic routing works properly.
- Resave permalinks: WP Admin → Settings → Permalinks → Save (without changes), to reaffirm rewrite rules.
- Test with caching disabled: Temporarily disable caching plugin / CDN and test whether the wishlist page remains accessible. If it works, caching is confirmed as cause.
- If page still 404 after cache clear and permalinks save: switch to default WP theme and disable all other plugins except WooCommerce + Wishlist plugin, to rule out conflicts.
Prerequisites
- Admin access to caching plugin / server / CDN settings.
Additional Notes
- Using caching on dynamic pages (wishlist, cart, account) often causes unpredictable results; always exclude such pages from cache.
- For multisite / complex setups: make sure the wishlist endpoint is correctly registered and not overridden by other rewrite rules.
