diff --git a/app/Controllers/Notifications.php b/app/Controllers/Notifications.php
index 4647ab75..486deb77 100755
--- a/app/Controllers/Notifications.php
+++ b/app/Controllers/Notifications.php
@@ -701,7 +701,7 @@ class Notifications extends BaseController
$fullName,
$schemename,
date('d-m-Y', strtotime($expirydate)),
- '' . base_url() . 'subscription_renewal/' . $membership_id . '',
+ '' . getenv("SMS_SUB_URL") . $membership_id . '',
],
$emailContent
);