Hyperlinks being trashed (Solved)

Just did a newsletter, and discovered that all the hyperlinks to stories on the site were being changed to add the URL of the newsletter itself. So, this hyperlink

https//www.forwardky.com/somestory/

becomes this

https://www.forwardky.com/thewrap/https://www.forwardky.com/somestory/

Cannot figure out why this is suddenly happening.

Thoughts?

Which version of Ghost are you on currently, @BruceInLouisville ??

Version is 6.19.4, according to About Ghost.

Also – just did a test post with an external link and an internal link, and sent it to myself. All was fine with it.

Can you share anything that might help with reproducing it? Link on a button? On some text in the body of the post? Something else? Do you have email analytics on or off?

Oh, and did you manually build the links, or use the new dropdown linking functionality?

So, I just sent myself (and only myself) a newsletter, with two links, and they were both ok.

(Tip: Put a label on your own user and then send to ā€˜specific people’, if sending test newsletters and not waiting to use the built in preview/test functionality)

I’m also on 6.19.4. I’m not sure how your host has outgoing email set up – is it possible they’re doing something funky other than dropping direct to Mailgun, and that’s broken?

I have a Zapier Zap that reads my RSS and adds any new story to a Google doc (title, excerpt, categories, URL). I then use those entries to do a daily newsletter.

Today, before creating the newsletter, I took the text from the Google doc and put it into Word so I could run some find-and-replace on it to add the word (Link) at the end of each story. Then I manually copied the link into that word.

I cannot imagine, for the life of me, what doing find-and-replace in Word would have done to make this happen. But, something was definitely different.

So they’re wrong on web also?

Yes – link to broken newsletter here: The Wrap for Monday, March 2

Well, I do one of these summary emails every weekday. We’ll see what happens tomorrow. I’ll report back.

Some insights from the guy who has access to your backend database :wink:

The links were saved as ā€œhttps//www.forwardky.com/my-response-to-trumps-war-on-iranā€ – without the colon after https. That makes clients believe it’s a relative link. If you check your email/web again you should see that the links are actually:

https://www.forwardky.com/thewrap/https//www.forwardky.com/somestory/

Rather than:

https://www.forwardky.com/thewrap/https://www.forwardky.com/somestory/

Not sure about the publishing flow, but based on the post revisions I can see, I’d argue that these were added without the colon to start with.

This is where the issue might be. Did anything change in that workflow recently?

3 Likes

BINGO! Sharp-Eyed Jannis, indeed! Obviously, when I did the find-and-replace in Word, I left out the colon on one of the passes. And then didn’t catch it before sending out the email.

Thank you, Jannis, for the help, and for the quality of your service Magic Pages. You’re the best!

2 Likes