Title: Getting 404
Last modified: September 18, 2025

---

# Getting 404

 *  Resolved [perlfan](https://wordpress.org/support/users/perlfan/)
 * (@perlfan)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/getting-404-4/)
 * Hi – I created a Thank you page and selected it in your plugin. However I’m getting
   a 404 error in my checkout when I click on purchase … please help! Frank

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Md Arafat Rahman](https://wordpress.org/support/users/arafatrahmanbd/)
 * (@arafatrahmanbd)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/getting-404-4/#post-18646642)
 * Hi [@perlfan](https://wordpress.org/support/users/perlfan/) ,
 * Thanks for reaching out!
 * A 404 error on the Thank You page usually means the page isn’t properly published
   or the permalink isn’t being recognized.
 * Could you please double-check the following:
 * 1. Make sure the Thank You page is published (not set to draft or private).
 * 2. Go to Settings > Permalinks in WordPress and click Save Changes (this refreshes
   the permalink structure).
 * 3. Confirm that you’ve selected the correct Thank You page inside our plugin 
   settings.
 * After doing these steps, try running a test checkout again.
 * If the issue persists, please let us know and share your site URL (or staging
   site) so we can investigate further.
 * Thanks
 *  Thread Starter [perlfan](https://wordpress.org/support/users/perlfan/)
 * (@perlfan)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/getting-404-4/#post-18646683)
 * Thank you for your prompt reply. I have tried the proposed steps but nothing 
   worked. Then I deactivated WPML and voilà it works. So somehow WPML is interfering
   here – you said that your plugin / redirect is WPML compatbile. Do you have an
   idea what the problem is? [https://snipboard.io/gimKG7.jpg](https://snipboard.io/gimKG7.jpg)
 * Unfortunately I can’t give you access due to confidential data … thx anyway. 
   Frank
 *  Plugin Contributor [Md Arafat Rahman](https://wordpress.org/support/users/arafatrahmanbd/)
 * (@arafatrahmanbd)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/getting-404-4/#post-18652157)
 * Hi [@perlfan](https://wordpress.org/support/users/perlfan/) It’s working fine
   on my sites, but you can try adding this snippet to your `functions.php` to bypass
   WPML processing on the thank you page:
 * `add_filter('wpml_filter_link', function($url) { `
 * `if (strpos($url, 'order=') !== false && strpos($url, 'key=') !== false) { return
   $url; } return $url; }, 1);`
 * If it’s still not working, please let me know. Thanks
 *  Thread Starter [perlfan](https://wordpress.org/support/users/perlfan/)
 * (@perlfan)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/getting-404-4/#post-18654031)
 * It now works, thank you! Frank

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Getting 404’ is closed to new replies.

 * ![](https://ps.w.org/custom-thank-you-for-woocommerce/assets/icon-256x256.jpg?
   rev=2250331)
 * [Custom Thank You for WooCommerce](https://wordpress.org/plugins/custom-thank-you-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-thank-you-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-thank-you-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-thank-you-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-thank-you-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-thank-you-for-woocommerce/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [perlfan](https://wordpress.org/support/users/perlfan/)
 * Last activity: [9 months, 1 week ago](https://wordpress.org/support/topic/getting-404-4/#post-18654031)
 * Status: resolved