Skip to content

ENGINEERING LEADER

WordPress Developer

Speaker

Unapologetic Punk

Mitch Canter

  • Threads
  • Instagram
  • Bluesky
  • LinkedIn
  • GitHub
  • YouTube
WordPress

Using Hyperlinks Correctly in WordPress

Mitch Canter

Reading time: 2 minutes

Any good content marketer worth his or her salt knows the value of using links in their content. It’s a good strategy to practice – whether you’re linking internally to content you’ve written in the past or to external resources you mention in posts.  However, a lot of people overlook a small, single detail that could mean the difference between someone staying on their website or leaving.

https://www.youtube.com/watch?v=xR7ChbDndHI

External Link Targeting

The rule is simple: if you are taking someone off-site (whether it’s a completely new domain or even a sub-domain of your current site), you want to make sure the link opens in a new tab or window. In WordPress, that’s as easy as checking a box as you’re inserting the hyperlink. Just in case you want the entire process:

  • Type the text you want to link.
  • Highlight it and click on the hyperlink button in the WordPress editor bar (it looks like a chain link).

  • Fill out the URL. The Link Text should be filled out for you already
  • Check the box that says “Open link in a new window/tab”.

That’s it. When you click on the hyperlink in the content, it’ll take you to a new window or tab and will leave your content open in the previous location.

Internal Link Targeting

You want to make sure that people visiting an internal link (a link that shares a domain with your website url) don’t visit a new window or tab. It’s assumed that any links that are in the same domain are on the same site and shouldn’t confuse users. One exception: if you host multiple websites in sub-folders, and want to link from one site to another, use a new tab or window.

As a bonus, if the content you want to link to is a WordPress content piece (page, post, category, or custom content / taxonomy), you can click the “Or link to existing content” drop down and see options to easily link to existing content.

  • WordPress 2.6 Review

    WordPress 2.6 Review

    Reading time: 3 minutes

    First of all, I updated WordPress to its new version as soon as I was able.  I’ve been very excited to see some of the new features they’ve added, and I have my list of the top ones to look foward to.  There aren’t any major interface changes this time, but (just like any great…

    WordPress
  • Redirection: An Easy Way to Handle 301 Redirects

    Redirection: An Easy Way to Handle 301 Redirects

    Reading time: 3 minutes

    Since I’ve switched to my new design, I’ve also done quite a bit of cleanup work on the content side of things.  I pruned a lot of old articles that weren’t bringing in search traffic (and weren’t related to the site anymore), cleaned up a lot of the categories, and set my permalink structure to…

    Tutorial, WordPress
  • Home
  • About
  • Speaking
  • Articles
  • Contact