If you’re using SendGrid to process emails from WooCommerce and have click tracking enabled, links that use $_GET vars will break. Sendgrid uses a URL sanitizer that converts the &id= to &id= and that creates an issue in WooCommerce…
The password reset form redirect looks for two get vars, $_GET['key'] and $_GET['id'], and if they’re not present, it won’t show the password reset form, just the standard “Please enter your username or email address.” form. It feels like a redirect loop but it’s because of a malformed URL ( PHP parses that get var as $_GET['amp;id'] ).
I didn’t realize the issue was coming from SendGrid, but after a ton of debugging and diving into WC’s source code I realized the conditional check was failing for seemingly no reason, and it was because the get var didn’t exist.
Easy Digital Downloads posted instructions to turn off SendGrid click tracking on their site in response to an EDD github issue and it works to solve this too.
Hope this helps!
Related Posts:
- How to change lost password email text using custom plugin wordpress?
- Forgot password flow does not work, getting email with a link but after clicking link it’s not working
- How to check if is in cart page? [closed]
- How to disable Woocommerce password recovery and use the default WordPress password reset page?
- WooCommerce changes lost password reset link
- Remember page before login page, redirect to that page after login
- Preventing WooCommerce email sending only on particular conditions
- woocommerce fail to replace template string in email title [closed]
- Custom Redirect after registration in WooCommerce
- WooCommerce: display text instead of raw checkbox value email
- Editing Header Titles of each details in woocommerce Order Email [closed]
- Woocommerce : How to attach an custom attachment with customer-processing-order.php email template [closed]
- Import products to WooCommerce by CSV page won’t open [closed]
- WooCommerce email text based on category && shipping zone && payment method [closed]
- WooCommerce: Email Notifications
- Woocommerce Login Redirect not working [closed]
- Redirect user after login through woocommerce login page to page with his/her username?
- woocommerce_email_attachments filter arguments [closed]
- WordPress ‘on behalf of’ email
- WooCommerce: The model of e-mail is displaying only the html, not css [closed]
- How do I hide the purchase note in the WooCommerce ‘order completed’ email?
- Which hook should I use to capture $_POST(‘password’) via profile update and password reset
- Add custom order meta to Order Completed email
- Woocommerce: Prevent sending of email when order is “Completed”
- How to add a user custom field into Woocommerce emails?
- Redirect customer to login page (with other signup plugin) if user not logged in when proceeding to checkout
- Custom Admin Email Subject for Woocommerce (3.8.0) Orders
- WooCommerce order complete email logic
- Woocommerce – Want to block a user agent from accessing specific product pages
- woocommerce email template detect email recipient
- How to – proper WordPress 301 redirects?
- Adding extra email address who receives email like admin – woocommerce
- Woocommerce, prevent login after registration and redirect to custom URL
- Add shipping address to Woocommerce order emails [closed]
- Woocommerce password Reset
- Send email notifications to a defined email address depending if a product in order has a specific TAG [closed]
- Woocommerce emails from gmail not being sent
- lost password link not working for my site
- Redirect no product url’s to static url
- WooCommerce Registration redirect based on page ID
- password_reset doesnt work
- Send admin new order email to logged in user as well
- Clients with empty username are not receiving request new password email
- wordpress/woocommerce login url not redirecting correctly
- Show password while you are typing it on the “my account” login page
- WooCommerce get_author_posts_url() – Author URL redirecting to shop base
- Create new email in WooCommerce
- How to check if woocommerce_order_item_name is use in email?
- WordPress woocommerce new order email not working
- Custom Email via Hook only for completed order
- Access custom meta_data in processing order email
- Change password notification email
- How to add (and change the font of) the short product description to order page and customer’s new order e-mail [closed]
- Is it ok to 301 redirect product-category pages to custom pages?
- How to send Woocommerce Customer Details (Name, Email and Phone Number) to Admin upon signup
- Using admin email in billing address
- WooCommerce and ACF: How to Redirect Upon Add to Cart – Partially Working Example
- Temporary access to page with URL sent to email
- Send a different “thank you” email based on payment method
- Customer Email Address
- wordpress site auto redirect to another site when I enable woocommerce
- Adding time of order to Admin email for new order
- how to add custom reviews button in woocommerce order complete generated mail
- How to add coupon expiry date into the followup emails?
- mydomain.com/wp-login redirects to wordpress.com/wp-login
- Change wp-login.php? Problem with .htaccess password protection and multi user shop
- Conditional email recipient based off Shipping Method [closed]
- Users credentials and syncing from third party with WooCommerce
- WooCommerce shop, my account, cart every page redirect to home page [closed]
- Manual Woocommerce Complete order Emails
- Turkish Character Problem on mailing
- How to override email text New Customer Order?
- Woo-Commerce new order email no style attached
- WooCommerce – How to add a custom field to only a specific email template [closed]
- Insert a custom field as a second email address to a completed order in WooCommerce
- Hide/show button for the password field in the Woocommerce My Account page
- Woocommerce admin order email customize – remove product short description
- WooCommerce Hook: Content get’s displayed twice and not AFTER the order total
- Cancelled orders move to Trash automatically in Woocommerce – how to disable?
- Conditional logic – if product has a parent category, echo this
- WooCommerce set default product sort to product description (content) [closed]
- Prices showed without decimals separator on BACKEND. Weight/price not working on Wocommerce
- add the attribute value above the english product title
- Can I create categories or attribute contain more than 70,000?
- Combine one action and one filter
- How to run code when cookie is added?
- Return product list based on current product attribute
- WooCommerce – Remove automaticly added membership product if user remove regular product from cart
- Product related to post by title
- How to change the link of product menu from wordpress admin panel
- Rename woocommerce button [closed]
- Create templates from attributes for categories
- How do I get slug of term by his name?
- dakon show vender address on checkout page
- Adding total_sales to Grouped Product within WooCommerce
- acf_form() – “On Update” action [closed]
- Trying to insert a div ID link into Woocommerce shortcode Pagination
- Remove login fields from /customer-account page [closed]
- Set single product image (main image) and archive thumbnail image as different from each other in Woocommerce
- ACF Create Array of All Woocommerce Product IDs with a Checkbox ticked