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.
How to change unsubscribelink
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to change unsubscribelink
Hi, if you are using SSL, the link should be set with https. If no, the link is with http. Phoca Email does not set the "http", this is set by JRoute method in Joomla! and it is set by Joomla! configuration
Jan
Jan
If you find Phoca extensions useful, please support the project
- f.gruber
- Phoca Member
- Posts: 39
- Joined: 12 Sep 2012, 11:47
Re: How to change unsubscribelink
Thank you for this information. What can be done there? Nothing?Jan wrote:Hi, if you are using SSL, the link should be set with https. If no, the link is with http. Phoca Email does not set the "http", this is set by JRoute method in Joomla! and it is set by Joomla! configuration
Jan
Ferdinand
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to change unsubscribelink
Hi, I think, this is the question on your server webhosting provider - to disable the SSL on your site
Jan
Jan
If you find Phoca extensions useful, please support the project
- f.gruber
- Phoca Member
- Posts: 39
- Joined: 12 Sep 2012, 11:47
Re: How to change unsubscribelink
It is my own dedicated Root Server. Why should I disable SSL?Jan wrote:Hi, I think, this is the question on your server webhosting provider - to disable the SSL on your site
Jan
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
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to change unsubscribelink
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.
Jan
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.
Jan
If you find Phoca extensions useful, please support the project