Hi @cedec,
The text which is added to the WooCommerce emails is fetched from the details inputted within the WooCommerce > Settings > Email > Email sender options settings.
Permalinks have no separate configuration for email content though and the emails would display the current product permalinks after testing on my installations for you. For reference, there is nowhere in WooCommerce to change product domain links as those are generated by WordPress based on the domain of the current site.
I’d double check your WordPress Admin > Settings > General settings to make sure both the WordPress Address (URL) and Site Address (URL) are displaying your new domain. This is the only setting in WordPress which would specify a domain name.
Thread Starter
cedec
(@cedec)
Hi @stuartduff
WordPress Address (URL) and Site Address (URL) are correct and set to the new domain.
An interesting thing happens at @ when creating an account when ordering. welcoming @ with the password shows the link to the subpage my account like this:
<a href="www.oldurl.com/my-account" style="color:#96588a;font-weight:normal;text-decoration:underline;">www.newurl.com/my-account</a>
When I paste the code below corresponding to this bit @, in my footer on the page, both links lead to a new url
printf( esc_html__( 'Thanks for creating an account on %1$s. Your username is %2$s. You can access your account area to view orders, change your password, and more at: %3$s', 'woocommerce' ), esc_html( $blogname ), '<strong>' . esc_html( $user_login ) . '</strong>', make_clickable( esc_url( wc_get_page_permalink( 'myaccount' ) ) ) );
What could be wrong here that only @ shows old links and all links in the entire site are already correct and lead to a new domain?
-
This reply was modified 4 years, 11 months ago by
cedec.
-
This reply was modified 4 years, 11 months ago by
cedec.
Thread Starter
cedec
(@cedec)
Solved topic external SMTP plug was causing problems
Hi there!
Happy that it working as expected now!
In this case, I’m marking the topic as resolved.
Feel free to open a new topic if you need further help! 🙂