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 create a new one and add some text).
Make sure you’re in the Visual Editor.
I’m going to make the following words into a link: What is WordPress?
Highlight the text you want to make into a hyperlink.
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 to apply the link.
That’s it. You’ve created a link to an internal page.
If you want to edit or remove the link, click on the pencil icon or cross.
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 the window first opens.
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 adding a link this way is you can choose to open the link in a new tab if you like. 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.
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.
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 and click Add Link.
That’s it.
Now you know how to add a hyperlink to a WordPress post (or page).
Leave a Reply