Directory

Link control – Documentation – WordPress.org

Link control

In this article

Go to the list of blocks

Use the links control to change how links are supposed to behave when interacting with the block editor.

First, you need to add a block with a hyperlink — a good example is the paragraph block.

Refer to this article for detailed instructions on adding blocks.

First, insert a hyperlink with the link icon. You can also use the Ctrl+K (or ⌘+K) keyboard shortcut.

Clicking on the link icon will open a dialog box.

You can type in the URL of the page you want to link to.

You can also use the Search text box to search for pages on your own website. If you start typing a keyword into the Search text box, WordPress will list content titles on your website that match the keyword. This is helpful for on-site link building.

Example of adding a link

Tip: If you already have the URL of the website you want to link to in the clipboard, highlight the text, you want to make into a link and use Ctrl+V (or ⌘+V) to add the hyperlink to the text.

Open location

Example of how to open the link on a new tab.

The Open in new tab toggle switch allows you to control where the new page should open. By default, the switch is set to off.

  • off opens in the same browser tab
  • on opens in a new browser tab

This toggle option is also available when you open the link editing panel. Open the Advanced menu and you will see the same toggle switch as well as the nofollow option.

Link editing panel with the advanced options displayed

Was this article helpful? How could it be improved?

First published

Last updated