Page 1 of 1

How to change unsubscribelink

Posted: 06 May 2015, 12:47
by f.gruber
Hi,
how can I change the unsubscribelink from https:// to http:// ?

On my server I have a self signed certificate. I want to prevent users from troubles with browser messages concerning the certificate.

Thank you for help.

Re: How to change unsubscribelink

Posted: 07 May 2015, 20:59
by Jan
Hi, if you are using SSL, the link should be set with https. If no, the link is with http. :idea: Phoca Email does not set the "http", this is set by JRoute method in Joomla! and it is set by Joomla! configuration :idea:

Jan

Re: How to change unsubscribelink

Posted: 07 May 2015, 21:51
by f.gruber
Jan wrote:Hi, if you are using SSL, the link should be set with https. If no, the link is with http. :idea: Phoca Email does not set the "http", this is set by JRoute method in Joomla! and it is set by Joomla! configuration :idea:
Jan
Thank you for this information. What can be done there? Nothing? :(
Ferdinand

Re: How to change unsubscribelink

Posted: 07 May 2015, 22:41
by Jan
Hi, I think, this is the question on your server webhosting provider - to disable the SSL on your site :idea:

Jan

Re: How to change unsubscribelink

Posted: 19 May 2015, 21:29
by f.gruber
Jan wrote:Hi, I think, this is the question on your server webhosting provider - to disable the SSL on your site :idea:
Jan
It is my own dedicated Root Server. Why should I disable SSL?

Now I found out the following:
If I log in as site Admin at the Joomla Backend via SSL then then the unsubscribe link is set to https://
If I do not log in via SSL, then the unsubscribe link is set to http://

Is there any way to override this?

In Joomla I only found a configuration option to force SSL. I did not set this option.
I only think SSL to be necessary for admin login.

Am I now forced to give up SSL for Backend Login to send a newsletter with PhocaEmail?

Ferdinand

Re: How to change unsubscribelink

Posted: 21 May 2015, 11:25
by Jan
Hi, unfortunately, the http (https) part is not done in Phoca Email, the link is set by Joomla! methods.

The only idea I have is to replace it in code:

$link = str_replace('https', 'http', $link); so you will force the http in every case. :idea:

Jan