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

salvis’s picture

Category: bug » support
Priority: Major » Normal

This 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.

salvis’s picture

Status: Active » Postponed (maintainer needs more info)

Please try the [site:url] token. What does it return?

drippydrop’s picture

That comes back as http://default as well.

drippydrop’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Ok setting the base URL in sites/default/settings.php corrects the issue.

Easy enough to fix :)

salvis’s picture

Thanks!