We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How can I redirect a blog post to an external page?

How can I redirect a blog post to an external page?

JHP_photo
Pathfinder
119 0 26

Hi Helpdesk, 

I created a blog post that I wan't to directly redirect to an already existing online article. So I don't want the blog post to open in Shopify but directly open an external page.

Pretty sure I missed something...anyway, hope anyone can help. Thanks!

URL: www.jophermans.com

Screenshot 2021-06-18 at 10.26.04.png

Replies 15 (15)

Akibhusen
Shopify Partner
715 121 149

You need to update your HTML structure to get the result. Please follow one from the below given 2 solutions.


Open a link in a new tab:
<a href="{{yourlink will here}}" target="_blank">Open page in new tab</a>

Open a link in a new window:
<a href="{{yourlink will here}}" target="popup" onclick="window.open('{{yourlink will here}}','name','width=600,height=400')">Open link in new window</a>

JHP_photo
Pathfinder
119 0 26

@Akibhusen 

That's also good to know, but not what I was look for. Let me try to make it clearer:

When I click the blog image, I want this page to open: https://www.surfline.com/surf-news/north-sea-explorations-with-jop-hermans/56304 

It's an already existing online article. If it opens in a new tab, would be awesome.

 

Screenshot 2021-06-18 at 12.09.51.png

Akibhusen
Shopify Partner
715 121 149

If you want for a single blog then you can add it's using hard code in your blog template.

OR

If you want an external URL for all your blogs then you need to used metafield app. You can add an external link in this app & called it in your blog template instead of the default blog URL.

JHP_photo
Pathfinder
119 0 26

@Akibhusen 

Yea, for some blog posts I would like to have this option, for some I don't. 

So It can't be done unless I use a paid app? No idea how to use a metafield app or which one to choose...can you guide me to a free one?

Akibhusen
Shopify Partner
715 121 149

Yes, sure.

 

let me check if any free metafield is available or not.

 

JHP_photo
Pathfinder
119 0 26

@Akibhusen 

Thanks for your help, I'll check back in later

Akibhusen
Shopify Partner
715 121 149

Hi @JHP_photo ,

You can use the "Metafields Custom Field Master(https://apps.shopify.com/metafields-manager-by-hulkapps)" app which is free. This app will solve your problem.


Read this post to add additional content to the blog page.

https://www.hulkapps.com/blogs/metafields-master-shopify/guide-center#blog

Akibhusen
Shopify Partner
715 121 149

HI @JHP_photo ,

 

In the new update, the Shopify provides the options for the meta field. You can check.

JHP_photo
Pathfinder
119 0 26

@Akibhusen

I get the idea 'metafields' is not what I'm looking for.

Let me rephrase my question.

  1. I created a blog page where I show seperate articles.
  2. When I click the blue image below I want to be forwarded directly to the article on the Surfline website (without opening a Shopify blog article)
  3. How do I do that?

Screenshot 2021-07-13 at 19.24.34.png

I hope you have the answer.

Thanks!

Akibhusen
Shopify Partner
715 121 149

HI,

Yes, I have an idea for this. Just manage the third-party URL in the 'Excerpt' editor of a blog post.

 

refer below screenshot.

 

Akibhusen_0-1626234728973.png

 

 

Let me know if you need any help with customization. I'll send you the Collaborators request to access your store if you need my help.

JHP_photo
Pathfinder
119 0 26

@Akibhusen Thanks mate, that's how I set it up now. 

Akibhusen
Shopify Partner
715 121 149

I Hope that's working great now.

JimiB31
Shopify Partner
1 0 2

@JHP_photo that's great you got a solution for this. Any chance you could share it? I mean, @Akibhusen seemed to point you in the right direction and then you obviously worked it out. Putting a link in the excerpt will, provide a link (obviously) but it still allows the user to click through to an empty blog page whereas, like you, I just want them to click directly from the page that lists the blogs to the external page. 

A screen shot would be immensely appreciated!

Akibhusen
Shopify Partner
715 121 149

@JimiB31, let me share your store detail and also the requirement in details so I can give you the solution.

 

let me know if I can help you in anyway.

bobojo
Shopify Partner
2 0 0

Did you ever find the solution? I am also in the same boat looking to link to an external blog from the Shopify blog post list. I pasted the link into the Excerpt, and it is visible there, but clicking will still take me to the empty blog page.