From this tutorial you’ll learn how to add a hyperlink to a WordPress Post or Page.
There are two types of editor in WordPress; Visual and Text. The process for adding a link varies slightly between the two. We’ll do the Visual Editor first.
Open up a Post or Page (or create a new one and add some text).
Make sure you’re in the Visual Editor.
To change text into a hyperlink, highlight the text you want to use by placing the cursor at the first letter, clicking your mouse and dragging it across the text until it’s highlighted.
Like this: What is WordPress?
Highlight the text you want to make into a hyperlink.
With the text highlighted, click on the hyperlink button in the TinyMCE editor:
A small window opens up.
If you want to link to an internal post or page and don’t know the URL, type in a keyword or part of the title tag. In the case I typed in “What is”.
WordPress displays a list of pages using the words you entered.
Move your mouse down to the one you want, make sure it’s highlighted, and click it.
In the text box you should see the URL of the page you want to link to.
Click the blue arrow or hit return to apply the link.
That’s it. You’ve created a link to an internal page. Go check it to make sure it’s working.
If you want to edit or remove the link, click part of the link the choose one the icons on the right.
Click on the pencil icon to edit the link, and the broken link icon to remove it.
You may have noticed the little cog to the right of the blue button and wondered what it does.
It’s another way to add a link, but you get a few additional options. This is the window you see when click on the cog.
This window works the same way. Enter your keyword into the Search box and choose the page you want to link to from the options that appear below. The biggest difference about adding a link this way is you can choose to open the link in a new tab. If you want to do that, tick the box next to Open link in a new tab.
When you’re done, click on Add Link or Update if you’re editing an existing link.
By the way, you can’t link to categories using this method. If you want to link to a category, you have to paste or type in the URL.
Add a link to a Category or external page
The first few steps of the process are exactly the same, but when you get to this stage:
You must paste or type the URL into the text box. Apply it by clicking the blue box with the white arrow or hitting return.
Adding a link using the Text Editor
Make sure you’re in the Text Editor.
Highlight the text to you want to make into a link, and click the Link icon in the Editor’s buttons.
The window you see next is the same as the one you see when you click the cog icon in the Visual Editor. Make your choices (see above if you’re not sure how to do that) and click Add Link.
Now you know how to add a hyperlink to a WordPress Post or Page.