The Unsubscribe link in the emails is not working. When clicked, people land on my home page, and an error shows that says:
Sorry, you are not allowed to access this section.
The code behind this in the template was not changed. This is the code:
<td class="mobile" style="font-family:arial, sans-serif; font-size:12px; line-height:16px;#171a17">
<?php echo JText::_('COM_KOMENTO_EMAILS_UNSUBSCRIBE_NOTE');?>
<a href="/<?php echo $unsubscribe;?>" target="_blank" style="color: #458BC6; text-decoration: none;"><?php echo JText::_('COM_KOMENTO_EMAILS_UNSUBSCRIBE_NOW');?></a>
This is the url that is showing in the email link:
Let me know how I can fix this.