Closed (fixed)
Project:
Subscriptions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2012 at 22:18 UTC
Updated:
17 Feb 2012 at 21:00 UTC
My emails that get sent via the subscription queue are not putting the site url in correctly.
My links are coming back as follows:
| LINK: http://default/comment/102#comment-102
| ---------------------------------------------------
| Direct unsubscribe link (category):
| http://default/s/del/node/tid/35/-1/1/9a3b9515a04f3bd622b5e27a72653a9a
=====================================================
| This is an automated message. Please do NOT reply to the sender address!
| To manage your subscriptions go to
| http://default/user/1/subscriptions
http://default should be http://mysitename.com
Comments
Comment #1
salvisThis is outside the scope of Subscriptions. It's Drupal core thinking that your site's hostname is "default".
We've had this in D6, too, but we were never able to find out why it was happening on some sites.
Comment #2
salvisPlease try the [site:url] token. What does it return?
Comment #3
drippydrop commentedThat comes back as http://default as well.
Comment #4
drippydrop commentedOk setting the base URL in sites/default/settings.php corrects the issue.
Easy enough to fix :)
Comment #5
salvisThanks!