CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Unsubscribe links are incorrect
Pages: [1]

Author Topic: Unsubscribe links are incorrect  (Read 836 times)

erogers

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 0
  • CiviCRM version: 4.6.2
  • CMS version: Wordpress 4.1
  • MySQL version: 5
  • PHP version: 5
Unsubscribe links are incorrect
February 19, 2015, 06:29:32 am
Unsubscribe links in my CiviMail mailings are incorrect and give users a page not found error when clicked.

Previewing and test messages look correct:
http://xxxx.com/?page=CiviCRM&q=civicrm/mailing/unsubscribe&reset=1&jid=957&qid=332109&h=088c8054b84ab358


But the actual message delivered to the user is incorrect:
http://xxxx.com/civicrm/mailing/unsubscribe?reset=1&jid=983&qid=342091&h=9cccde363918529c

danaskallman

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
    • Tadpole Collective
  • CiviCRM version: 4.5.6
  • CMS version: WordPress
  • MySQL version: 5.5
  • PHP version: 5.5
Re: Unsubscribe links are incorrect
February 19, 2015, 06:58:18 am
Do you have the base page set here xxxx.com/wp-admin/admin.php?page=CiviCRM&q=civicrm/admin/setting/uf&reset=1, which is a page created in WP?

erogers

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 0
  • CiviCRM version: 4.6.2
  • CMS version: Wordpress 4.1
  • MySQL version: 5
  • PHP version: 5
Re: Unsubscribe links are incorrect
February 19, 2015, 08:01:38 am
No, it is blank so that Civi uses the WP default page

danaskallman

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
    • Tadpole Collective
  • CiviCRM version: 4.5.6
  • CMS version: WordPress
  • MySQL version: 5.5
  • PHP version: 5.5
Re: Unsubscribe links are incorrect
February 19, 2015, 04:47:08 pm
Can you try set a base page and see if the issue persists. If it still persists the civicrm.setting.php the  CIVICRM_UF_WP_BASEPAGE may also need to have that same basepage set.


erogers

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 0
  • CiviCRM version: 4.6.2
  • CMS version: Wordpress 4.1
  • MySQL version: 5
  • PHP version: 5
Re: Unsubscribe links are incorrect
February 19, 2015, 08:36:30 pm
What base page would I set when WP doesn't have a specific base page?

It's confusing since the test messages have the correct link. Why would the non-test messages have a different link generated from the same token?

erogers

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 0
  • CiviCRM version: 4.6.2
  • CMS version: Wordpress 4.1
  • MySQL version: 5
  • PHP version: 5
Re: Unsubscribe links are incorrect
February 26, 2015, 07:05:43 am
I tried setting a base page as suggested, and it's still broken :(

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Unsubscribe links are incorrect

This forum was archived on 2017-11-26.