monsterit Posted February 11, 2019 Share Posted February 11, 2019 (edited) Hi all, The ($domain_renewal_url) is showing the wrong url when it gets emailed to clients. Is there a way to fix this at all? for instance it is being sent as https://order.monster-it.co.uk/homefolderpath/order.monster-it.co.uk/index.php?rp=/domain/123testdomain.co.uk/renew instead it should be https://order.monster-it.co.uk/index.php?rp=/domain/123testdomain.co.uk/renew I've gone in to the email template and it only have the domain_renewal_url shortcode. Edited February 11, 2019 by monsterit 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 11, 2019 Share Posted February 11, 2019 first thought would be to check that your WHMCS System URL path is correct... because I can sort of see your error if I add another folder level (/1/) to the System URL path... http://www.domain.com/whmcs/1/whmcs/index.php?rp=/domain/domaintorenew.co.uk/renew if the path is correct, and it's not being caused by a (un)Friendly URLs issue, then the code below should help in the email template in the short-term until this issue is confirmed and/or fixed. {$domain_renewal_url|replace:'homefolderpath/order.monster-it.co.uk/':''} 0 Quote Link to comment Share on other sites More sharing options...
monsterit Posted February 11, 2019 Author Share Posted February 11, 2019 Sorted it was the friendly URL. never gave that a thought till you said. Changed it and it is working okay now. Thank you Brian. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 11, 2019 Share Posted February 11, 2019 25 minutes ago, monsterit said: Sorted it was the friendly URL. never gave that a thought till you said. I tend to mention that in passing with every issue that concerns a URL 🙂 it's such a buggy/temperamental "feature", that it can lead to all sorts of issues cropping up where before everything worked ok. 🙄 btw - have you noticed when you do a domain search in your cart (either direct registration or with a product), that it's generating an "Invalid domain name provided" domain name error... the kb article exists below, but i'm seeing this on your site with new registrations and own domain too... https://help.whmcs.com/m/85428/l/1034165-troubleshooting-invalid-domain-name-provided-messages update - I see you fixed it on the domain register page and enabled normal Google Captcha... was it an invisible captcha issue ? i'm still seeing it when adding a domain to a product. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.