Skip to main content

Links in emails do not work

Symptom​

A customer clicks a button or link in an email from the module and lands on the wrong page. The links are the button in the Right of withdrawal box of order and shipment emails, the buttons in the request emails, such as View Your Withdrawal Request or Find Your Order, and the footer links Contact us, Returns and FAQs. The customer sees one of these:

  • a page not found;
  • your home page;
  • a page on another domain, such as a staging site;
  • the order lookup instead of the order;
  • the sign-in page.

Checks​

The module settings are in Stores → Configuration → MageMe Extensions → EU Withdrawal. Switch the scope to the store view of the order.

  1. Open the withdrawal page of your store, for example from the link in the My Account menu. It loads.
  2. Expand General and look at Frontend Route. It hasn't changed since the email was sent. The address of the withdrawal page starts with this route.
  3. In General, check Enable Module. It shows Yes. While the module is off, its links lead to the home page.
  4. Hover over the link in the email and read the domain. It is the domain of the store view the order was placed in. The module builds its links from the Base URL of that store view in Stores → Configuration → General → Web.
  5. With Pro, the button in order and shipment emails should open the order directly. If it opens the order lookup, expand Magic Link and check Enable Magic Link and Token Lifetime (days). Magic Link is Yes, and the email is younger than the lifetime.
  6. If a signed-in customer lands on the sign-in page: that is expected. For a customer with an account, the request emails open the order in My Account, which needs signing in.
  7. For a footer link, expand Customer Notifications, then Branding (Shared by All Emails Above), and look at Contact Page URL, Returns Page URL and FAQ Page URL. Each one is a full address that starts with https:// and opens in your browser.

Expected result​

The withdrawal button opens your withdrawal page, or with Magic Link the Select Items step of the order. The request email buttons open the request or the order lookup, and the footer links open the pages you entered.

Fix​

  • If check 1 failed: the withdrawal page itself doesn't work. See The withdrawal option is missing on an order.
  • If check 2 failed: emails sent before the change carry the old route. A custom route you replaced no longer opens, while the default withdraw-contract always does. Set Frontend Route back if many sent emails use the old one. Change the route before you go live, not afterwards.
  • If check 3 failed: select Yes in Enable Module for that store view and click Save Config.
  • If check 4 failed: ask your developer to correct the Base URL of that store view. Emails already sent keep the wrong domain. The customer can open the withdrawal page from your storefront instead.
  • If check 5 failed: the link has expired, the email client cut it, or Magic Link was off when the email was sent. The customer can still find the order with the order number and email address. See Magic Link.
  • If check 6 applies: ask the customer to sign in. The order page then shows the withdrawal card and the requests.
  • If check 7 failed: enter the full address and click Save Config. Emails sent from then on carry it. A blank Contact Page URL falls back to an email link to your Customer Support address. See Branding the emails.

If none of the checks helped, contact MageMe support with the email, the link as the customer sees it, and the store view of the order.

Last reviewed November 28, 2026