Home › Forums › Newsletter Plugin Support › Links in Newsletter now in SSL/https?
- This topic has 18 replies, 3 voices, and was last updated 8 years, 3 months ago by
settlersoman.
-
AuthorPosts
-
May 4, 2015 at 7:32 pm #16019
newsfish
ParticipantHi Stefano,
today I sent a Feed by Mail newsletter as every week, but today all links in the newsletter-email where SSL, with https. But I only use SSL in the WordPress backend, see wp-config.php:
define(‘FORCE_SSL_ADMIN’, true);
I did not change anything in my blog except for an update of the newsletter plugin last week.
After the newsletter was sent today I tested it again with the test option in Feed by Mail and in that email there were no SSL-links any more, except the featured image of my article.
That’s really strange. Why is that? Thanks.
May 4, 2015 at 8:59 pm #16020Stefano
KeymasterUhm, this is strange because the email is generated in a “non-admin” context so that define should not affect the creation of the message. Tests messages are generated in the admin context and it’s strange to have them with non-https links.
More: the unsubscription or profile link are https? Or only the post and image links?
Stefano.
May 4, 2015 at 9:08 pm #16023newsfish
ParticipantAll links and image-sources were https in the real newsletter email, in the testmail only the image-source was. Really strange, because I have another 2 blogs which do not have this issue and they are all on the same versions and also have admin-SSL.
Should the test-email have SSL links?
Is SSL the cause because the preview of the newsletter does not work any longer?
May 4, 2015 at 9:52 pm #16030Stefano
KeymasterHi, how is set your blog address on wordpress general configuration panel?
May 4, 2015 at 9:55 pm #16031newsfish
ParticipantIt’s both with “http://”
May 4, 2015 at 10:02 pm #16032newsfish
ParticipantFor your interest: I use a self signed certificate. With the plugin “backup wordpress” I get this message in the plugin settings:
“wp-cron.php is returning a SSL certificate problem: self signed certificate response which could mean cron jobs aren’t getting fired properly. BackUpWordPress relies on wp-cron to run scheduled backups. See the FAQ for more details.”
So could this also affect your use of cron?
But I need to mention that on all of my blogs I use a self signed certificate, but only with this one blog I got the SSL-link-newsletter.
May 4, 2015 at 10:05 pm #16033Stefano
KeymasterUhm, the problem is that wp-cron.php is called with https and that probably create a problem when generating the email. If you call manually the wp-cron.php with http, does it works? If so you can desable the auto wp-cron.php call and trigger the cron externally. See the delivery engine documentation on this site for examples.
Keep me updated, thank you!
Stefano.
May 4, 2015 at 10:13 pm #16034newsfish
ParticipantIt (manual call of cron with http) does work. But I wonder why this is only an issue in one of several blogs with newsletter plugin?
May 4, 2015 at 10:49 pm #16037Stefano
KeymasterI don’t know, maybe there is a plugin other than the define, that detects the https call and forces the https on every generated link?
May 4, 2015 at 11:48 pm #16038newsfish
ParticipantI don’t know, but I use SSL since some weeks without any problems. Could this be an issue with WP 4.2 and newsletter plugin or do you have any other idea? The manual cron works, but it is not a really good solution.
May 4, 2015 at 11:50 pm #16039Stefano
KeymasterHi, the externally triggered cron is the best solution ever for WordPress. Actually WordPress does a trick that relies on site traffic to keep the cron system working. I don’t know if it is a 4.2 problem.
August 5, 2015 at 6:17 pm #17024newsfish
ParticipantHi Stefano,
yesterday my WordPress updatet to version 4.2.4. Today all links in the newsletter-email redirect to https, which brings all users a certificate warning.
The newsletter-links themself all are http, but the newsletter-plugin redirects them to https. The normal site use does no redirect.
Now I disabled the cron also in this blog and hope, that the problem is solved with my next newsletter. The strange thing is: Another blog with 4.2.4 and the newsletter-plugin does not have this issue. Both blogs use
define(‘FORCE_SSL_ADMIN’, true);Is the https-redirect stored in the database or why is there still a http to https redirect even if I disable this ssl-define?
Thanks.
August 6, 2015 at 4:34 pm #17045Stefano
KeymasterUhm, Newsletter just build link asking wordpress for a base url. Are the traking link containing the https?
August 6, 2015 at 6:17 pm #17054newsfish
ParticipantNo, the URL in the emails are http, not https. But the plugin redirects them to https.
August 6, 2015 at 11:58 pm #17056Stefano
Keymaster@newsfish can you send me a starting link which redirects in https? privately at stefano@thenewsletterplugin.com
August 15, 2015 at 8:14 pm #17157settlersoman
ParticipantHi guys,
this is not a new problem. I have faced this problem since I installed the newsletter plugin (hmmm 6-8months ago). I don’t know why but newsletter (on my blog) use https in my posts and because I use self-signed certificate on my site, I have to switch to HTML source and change all https to http – I can avoid any problems on my readers side (like… why this site is not secured…) However I have to turn off tracking because it doesn’t work after changing https to http.
The problem is the same even with this option define(‘FORCE_SSL_ADMIN’, true); or without.
Any clue? I would like to use http by default with tracking…
August 15, 2015 at 9:07 pm #17158settlersoman
Participant.
August 15, 2015 at 10:08 pm #17160Stefano
KeymasterHi, but the wordpress general setting, which kind of url shows? http or https on blog and home configurations? Are you using ssl only on admin side?
August 15, 2015 at 10:18 pm #17161settlersoman
ParticipantHi Stefano,
I use http on home configuration. https is used only on admin site.
-
AuthorPosts
- You must be logged in to reply to this topic.