How to Link Posts or Pages To an External URL

Artem Minaev
Updated: April 7th, 2023
2 min read
FirstSiteGuide is supported by our readers. When you purchase via links on our site we may earn a commission. Read More
How to Link Posts or Pages To an External URL

Once you set up your permalinks, WordPress will use that structure in order to point browsers to content located on your server. It doesn’t matter if you left the default permalinks structure or if you customized it for SEO, your posts and page titles will automatically link to a unique URL set by WordPress. And that actually makes sense – you do want your titles to lead to the content and usually, you want your pictures to navigate to the same link. But what if you wanted to change that and redirect a user to an external URL?

Maybe it does sound a little bit crazy, but when you give it a thought, there might be situations in which you want to redirect your user to an external link even before opening the content.

For starters, maybe you want advertisements or promoted posts listed on your blogroll so you can make money. If someone paid you to promote their post, you might have that post published as your own, but instead of having the post actually hosted, you can link directly to that external link.

Or, what if you have several websites of your own? You may want to link a post/page title directly to your new page.


Page Links To

If you kept reading to this point, you probably have a reason for your own why you need to redirect a post to an external URL and we’re about to show you how to do that. There’s no need to mess around with the code because there is a free, lightweight plugin already in existence.

  1. Go to Plugins -> Add New
  2. Search for “Page Links To” plugin
  3. Install and activate it
  4. Create new post/page or edit an existing one
  5. Scroll down to Page Links To tab
  6. Choose “A Custom URL” radio button
  7. Enter any URL you want
  8. Choose if you want to open link in a new tab
  9. Publish your post/page or update it

Your external URL is now officially active. To test if it’s working, you won’t even have to open your homepage – you can open your external link simply by hitting the “View Page” link which appeared on top of your admin panel.

Of course, the link is changed throughout the entire system. Not only your title will lead to a custom URL but also the featured image will do the same job.

5 comments on “How to Link Posts or Pages To an External URL”

  1. John

    Will this work for images as well? For example, if there is a post with an image and a title and you want both to go to the same external site and webpage?

  2. Mike V.

    Thank you very much, this helped A LOT! I was trying to make a daily news feed aggregator where when people go to the news feed, they see the latest news, but I wanted them to go to the actual news article when clicking on the “Read More” button. On top of that, I was also trying to add those posts to a Mailchimp RSS feed email (while not having the URL visible in text), and it works perfect now! Thank you!

  3. Andrei Popescu

    Great, thank you


    whoah this blog is magnificent i ove reading your posts. Keep
    up the great work! You know, lots off people are looking
    round for this information, you can aid them greatly.

Leave a Reply

Your email address will not be published. Required fields are marked *

Send this to a friend