Home > Docs > Subscriptions for WooCommerce > Redirect to a Custom Page after WooCommerce Subscription Purchase

Redirect to a Custom Page after WooCommerce Subscription Purchase

Last updated on July 22, 2025

When using the Subscriptions for WooCommerce plugin, you may want to redirect customers to a specific page after they have completed a subscription purchase. This article provides a code snippet that enables to achieve this custom redirection.

Follow the steps to redirect a customer to a custom page after a successful WooCommerce subscription purchase.

  1. Navigate to Appearance > Theme File Editor > functions.php file from the WordPress dashboard.
  2. Copy the code snippet provided below.
  3. Paste the code snippet into the functions.php file.
  4. Replace the URL “http://www.webtoffee.com/” with the desired page URL, where you want to redirect users.
  5. Save the functions.php file.

You can also use a third-party plugin for adding the snippet. Click the below link to know more.

Adding a Custom Code Snippet Using a Third-Party Plugin

Code snippet