Home › Forums › Newsletter Plugin Support › Problem with {unsubscription_url} code
- This topic has 11 replies, 3 voices, and was last updated 9 years, 1 month ago by
Stefano.
-
AuthorPosts
-
October 10, 2014 at 8:57 pm #12027
kimosogi
ParticipantHello Stefano,
I love this newsletter plugin you must have spent a lot of time on it because everything is just perfect. However I am running to an issue see below.
The code {unsubscription_url} is creating this link below
http://wp-content/plugins/newsletter/do/unsubscription.php?nk=3-1d4913e477Looks like I am missing the domain for some reason.
This issue is the same with all the other short codes.
The only short code that works properly is {blog_url}
Keep up the great work! I plan on donating to your cause soon.
Kimo
October 10, 2014 at 11:13 pm #12028Stefano
KeymasterHi, contact me via email at stefano@satollo.net: I’ll send you an update file for Newsletter plugin that shows a WordPress internal parameter (WP_PLUGIN_URL) just to see if it is set to some odd value.
Bye, Stefano.
Already tried Nearby Photos? Try it and see what’s happening around you!October 10, 2014 at 11:13 pm #12029Stefano
KeymasterThat is rather strange since the plugin uses a WordPress function to have the domain. It seems the function “plugins_url” of WordPress is returning an URL without the domain part (and it should not as far as I know).
I’ll check more deeply the function.
Bye, Stefano.
Already tried Nearby Photos? Try it and see what’s happening around you!October 11, 2014 at 4:37 am #12030kimosogi
ParticipantThanks for the response Stefano I sent you an email.
October 12, 2014 at 6:00 pm #12049kimosogi
ParticipantThanks for all your help Stefano! Sent you a small donation. I plan on buying the premium plugins also.
Gonna paste the email solution here incase someone needs it.
Hey Stefano, just want you to know that I did NOT delete that line. Instead I installed a plugin called “Root Relative URLs” and it works now. My hosting provider has this plugin pre-installed but I deleted it because I didn’t know what it was for. After our chat I remembered I deleted this plugin so I reinstalled it to see if it fix the problem and it worked. I think its better not to delete that line incase it was there for a reason by the hosting provider. Thanks again for your help – kimo
October 12, 2014 at 9:53 pm #12052Stefano
KeymasterThank very much!
October 26, 2014 at 10:16 am #12113Katerjerry
ParticipantHi Stefano,
i have the same problem. Is there a solution available?
Dirk
October 27, 2014 at 3:08 pm #12115kimosogi
ParticipantMy problem was in the wp-config.php file I had line that looks like below
define(‘WP_CONTENT_URL’, ‘/wp-content’);I commented it out like this and it works fine now.
//define(‘WP_CONTENT_URL’, ‘/wp-content’);Thanks again Stefano for the great plugin and help.
October 27, 2014 at 4:16 pm #12116Katerjerry
ParticipantHello,
I haven’t this line in wp-config.php. Everything works fine. Only the unsubscription process doesn’t work. I like this plugin too and it would be a pity if I must exchange it for another.
Bye,
DirkOctober 27, 2014 at 6:03 pm #12117Stefano
KeymasterHi Katerjerry, do you have the problem of a link without the full URL?
Bye, Stefano.
Already tried Nearby Photos? Try it and see what’s happening around you!October 28, 2014 at 7:58 am #12118Katerjerry
ParticipantHi Stefano,
the link looks like the example by Kimosogi. I haven’t any problems with links without the full url.
Step 1 subscription: It works. Link in the E-Mail looks like this:
http://myurl.de/wp-content/plugins/newsletter/do/confirm.php?nk=15-f2533de1c6Step 2: “Welcome-Page” on the Blog opens
Step 3: E-Mail-Confirmation with possibility to unsubscribe ({unsubscription_url})
Looks like this:
Unsubscribe from Newsletter: myurl.de/wp-content/plugins/newsletter/do/unsubscription.php?nk=15-f2533de1c6 click here <http://myurl.de/wp-content/plugins/newsletter/do/unsubscription.php?nk=15-f2533de1c6> .Change your Data: click here <http://myurl.de/wp-content/plugins/newsletter/do/profile.php?nk=15-f2533de1c6> .
Step 4:
Klick on unsubscribe Link. I’m signed out from the newsletter-list. The Blog opened a Site with no known Page: ERROR 404 – Page not foundI think it’s only a simple mistake. But I can’t find it.
Bye,
KaterjerryOctober 28, 2014 at 1:44 pm #12125Stefano
KeymasterHi, sent me a copy of the email with the non working url, since all seems correct. (at stefano@satollo.net)
Bye, Stefano.
Already tried Nearby Photos? Try it and see what’s happening around you! -
AuthorPosts
- You must be logged in to reply to this topic.