• Resolved umdiecker

    (@umdiecker)


    I have received a renewal notice from the Directorist setup for a website I administer. The URL sent was as follows:

    http://renew/541/?token=cB0XtpVzGb180dgPi3hADW-541

    Obviously this isn’t going to work as there is no domain listed. How can I resolve this to ensure the correct URL is used? I assume there is a setting to add in the base of the link? Foll email received below:

    [Carterton NZ] : Your Listing “Wairarapa Web Design” is about to expire.

    Dear waiwebdesign,Your listing ‘Wairarapa Web Design’ is about to expire. It will expire on 21 March 2023. You can renew it at Visit Listing Renewal Page

    Thanks,
    The Administrator of Carterton NZ

    Happy to tackle the fix myself if you can advise where to look! Ta.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @umdiecker, thank you for getting in touch with us!

    Email notifications and templates can be found under Settings > Email. There is an option to send emails when a specific listing is expired. Please check this path /includes/classes/class-email.php on line 102 for the renewal link.

    Feel free to let me know for more help.

    Regards,
    Sheikh Faysal

    Thread Starter umdiecker

    (@umdiecker)

    The line at 102 is as follows:

    $renewal_link = add_query_arg( ‘token’, $token, ATBDP_Permalink::get_renewal_page_link( $listing_id ) );

    Looking at the template, the email body states:

    You can still renew it by clicking this link: ==RENEWAL_LINK==.

    Which obviously populates as http://renew/541/?token=cB0XtpVzGb180dgPi3hADW-541 or some variation

    What needs to be changed in order to make the link function under the appropriate domain/address?

    Thread Starter umdiecker

    (@umdiecker)

    Please can you advise on this – I still have not managed to find a resolution to the issue reported.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Renewal Link Broken’ is closed to new replies.