Documentation

Unsubscribe link is not working

If the {{ customer.unsubscribe_url }} placeholder doesn’t redirect the customer to the communication preferences page and instead returns a 404 error, there’s a quick fix you can apply.

Why is this happening?#

ShopMagic automatically generates a dedicated communication preferences page. By default, it is available under the /communication-preferences URL. There is no need to manually create a page or add any shortcode.
In some cases, WordPress may not recognize this URL because its rewrite rules (permalinks) are outdated.

How to fix the issue#

  1. In your WordPress dashboard, go to Settings → Permalinks.
  2. Without changing any settings, click the Save changes button.

This will refresh WordPress rewrite rules and ensure that the communication preferences URL is registered correctly.
After saving the permalinks, the unsubscribe link should work as expected.

Note: You don’t need any additional plugin, page, or shortcode to use the unsubscribe feature. The functionality is built into ShopMagic and works out of the box.

Not the solution you are looking for?

Please check other articles or open a support ticket.

Cookies preferences

Others

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

Necessary

Necessary
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.

Advertisement

Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.

Analytics

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.

Functional

Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.

Performance

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.