How to Add Hyperlinks (Links) in Blog Posts or Pages of a WordPress Website?

The tools and plugins recommend in the site are the ones we use, have tried ourselves and recommend our readers. Marketing With WP is supported by readers like yourself. If you take an action (such as a purchase) after clicking on our affiliate links, we may earn some coffee money to create more helpful articles. As always, we thank you for your support.

A hyperlink is simply a link that directs users to another piece of content with a unique permalink within the same domain or a different one.

A hyperlink is embedded to the content on the pages and posts that redirects the users to the URL address with a simple click.

In this post, we will see how you can add hyperlinks to content on your WordPress pages and posts.

So, let’s start with adding a link to the text.

Step 1) Add or Edit a Post/Page

Start with opening a page or a post that you want to add the link to. It could be a new one or just edit an existing one.

For now, let’s edit an existing post.

edit a post from all posts screen add link in wordpress
edit a post from the posts dashboard

This will open the post on the Gutenberg editor.

Now, select the text that you want to add the link to.

And then, click on the link button on the options bar for the text. Or, you can also use the shortcut key ‘Ctrl + K’.

select text to add link in wordpress editor settings
select text to add link in the WordPress editor

Step 3) Enter the URL and Save

After that, a text box will appear to insert the link. So, simply enter the link URL there. After that, click on the Submit button.

enter the link URL and save the link
enter the link URL and save the link

If you want the link to open on a new tab, then click on the toggle button labeled ‘Open in new tab’ before saving.

select open link in new tab text link
select open link in new tab

Adding links to buttons is similar to adding links to simple text. Anyway, here’s how to do it.

Step 1) Add a button block

First, add a button block from the Gutenberg block library and type in the button text.

add a button in wordpress editor
add a button in WordPress editor

Step 2) Select the Button Text

Now, select the button text and click on the link button. Or, you can use the shortcut key ‘Ctrl + K’ after selecting the text.

click on the button link icon settings
click on the button link

Now, enter the URL for the link and click on the Submit button.

enter link url in button
enter the button link url

If you want the link to open in a new tab, then turn on the toggle button labeled ‘Open in new tab’ before submitting.

select open button link in new tab
select open button link in new tab

Next up, we will see adding a link to images.

Step 1) Add an Image

First, add an image using the image block in Gutenberg.

add image in wordpress editor
add image in WordPress editor

After that, click on the Insert Link button for the image block.

insert link button for image
click on insert link button for image

This will open a text box to enter the link URL.

Now, enter the web page’sURL that you want to link to the image. And then, submit it by clicking on the Apply button.

enter link url in image
enter link url on the image

If you want the link to open in a new tab, then click on the dropdown arrow and turn on the toggle button before saving.

select image link open in new tab option
select image link open in new tab option

Need help? Ask in our Free Community.

Join our Free Facebook Group, ask for help and learn more about WordPress from our community members.

Join Facebook Community
Default image
Ankit S J B Rana

Ankit is the founder of Marketing With WP and wants to help those who want to pursue a career in digital marketing.

From Co-Founding a successful boutique travel brand, Nepal101 to setting up Mbrella Films, Southeast Asia's #1 Film Production Company, online leads funnel to generate hundreds of B2B leads, he has done it all.

With Marketing With WP, Ankit wants to help marketers like yourselves utilize WordPress and other online tools to turn your website into a 24 hour marketing machine.

Articles: 85

Leave a Reply