Troubleshooting Gutenberg Link Problems: Missing Icons, Unclickable Buttons, and More
Content
Links are a fundamental part of any website, but sometimes the Gutenberg editor can make creating them a frustrating experience. Based on common community reports, this guide covers the most frequent link-related issues and how to resolve them.
Common Gutenberg Link Issues and Their Solutions
1. The Link Button or Icon is Missing
Many users report the link button disappearing from the toolbar entirely.
- Quick Fix: Use the keyboard shortcut. Select your text and press
Ctrl+K(or⌘+Kon Mac). To remove a link, useCtrl+Shift+K(or⌘+Shift+K). - Plugin Conflict: This is the most common cause. Temporarily deactivate all plugins except Gutenberg to see if the button returns. You can use the Health Check plugin's troubleshooting mode to test this without affecting your live site visitors. If the button returns, reactivate your plugins one by one to identify the culprit.
- Theme Conflict: Test with a default WordPress theme like Twenty Twenty-Three to see if the problem is theme-related.
2. Can't Add Links to Specific Blocks (Lists, Buttons, Images)
You might find that you can add links in paragraphs but not in list items, buttons, or image captions.
- For List Blocks: Ensure your WordPress and Gutenberg plugin versions are up to date, as this was a bug in older versions.
- For Image Blocks: To add a
relattribute likenofollowto an image link, click the down arrow on the link settings within the Image block. - For Button Blocks: The link URL for a button is added in the main block settings sidebar, not in the 'Link rel' field. The 'Link rel' field is for adding attributes like
nofolloworsponsored.
3. Buttons or Links Are Not Clickable on the Front End
If your button looks fine in the editor but doesn't work on the published page, check the link.
- Incorrect URL Field: A common mistake is placing the URL in the 'Link rel' field in the Advanced panel. The URL must be placed in the dedicated 'Link' field in the block toolbar or sidebar.
4. Unwanted 'noreferrer' Attribute Added to Links
Gutenberg automatically adds rel="noreferrer noopener" to links that open in a new tab for security. If you need to remove the noreferrer attribute, it requires custom code, as there is no built-in setting.
5. Link UI is Glitchy or Displayed Incorrectly
Some users see an overly large link icon or a popup that appears off-screen.
- Large Icons: This is often caused by a conflict with another plugin (e.g., RankMath has been identified in changelogs). Disable other plugins to test.
- Off-screen Popup: If the link insertion dialog appears outside the viewable area, try adding a few empty paragraphs or a spacer block below your content to give the editor more room to display the popup correctly.
General Troubleshooting Steps
When facing any persistent issue with Gutenberg, follow this process:
- Update Everything: Ensure WordPress, your theme, the Gutenberg plugin (if used), and all other plugins are updated to their latest versions.
- Conflict Test: Use the Health Check plugin to disable all plugins and switch to a default theme. This is the most reliable way to identify a conflict without disrupting your site's visitors.
- Browser Test: Try a different browser or clear your current browser's cache and cookies.
If you've tried all these steps and the issue persists, it may be a bug. You can report it to the Gutenberg team on their GitHub issue tracker, providing details about your environment and steps to reproduce the problem.
Related Support Threads Support
-
Can add “nofollow” Options on picture , button and small tools?https://wordpress.org/support/topic/can-add-nofollow-options-on-picture-button-and-small-tools%ef%bc%9f/
-
Problem with links windowhttps://wordpress.org/support/topic/problem-with-links-window/
-
Link button suddenly huge after update to WP 5.8https://wordpress.org/support/topic/link-button-suddenly-huge-after-update-to-wp-5-8/
-
Links inactive in list blockshttps://wordpress.org/support/topic/links-inactive-in-list-blocks/
-
dont have a link iconhttps://wordpress.org/support/topic/dont-have-a-link-icon/
-
Can’t disable link stylehttps://wordpress.org/support/topic/cant-disable-link-style/
-
Linking text don’t work in 16.1.0https://wordpress.org/support/topic/linking-text-dont-work-in-16-1-0/
-
Cannot link externallyhttps://wordpress.org/support/topic/cannot-link-externally/
-
Link keeps showing bluehttps://wordpress.org/support/topic/link-keeps-showing-blue/
-
Strange URL icon on Gutenberghttps://wordpress.org/support/topic/strange-url-icon-on-gutenberg/
-
Can’t add links to posts – link button is missinghttps://wordpress.org/support/topic/cant-add-links-to-posts-link-button-is-missing/
-
Full Width Layout and Missing Iconshttps://wordpress.org/support/topic/full-width-layout-and-missing-icons/
-
emoji in link urlhttps://wordpress.org/support/topic/emoji-in-link-url/
-
How to post a link without it being embeddedhttps://wordpress.org/support/topic/how-to-post-a-link-without-it-being-embedded/
-
Link options boxhttps://wordpress.org/support/topic/link-options-box/
-
Can’t create link on buttonhttps://wordpress.org/support/topic/cant-create-link-on-button/
-
noreferrer in Buttonshttps://wordpress.org/support/topic/noreferrer-in-buttons/
-
Noreferer disablehttps://wordpress.org/support/topic/noreferer-disable-2/
-
Scroll anchor link in stead of jumpinghttps://wordpress.org/support/topic/scroll-anchor-link-in-stead-of-jumping-2/
-
Gutenburg Buttons Not Clickable (Do Not Link to Page)https://wordpress.org/support/topic/gutenburg-buttons-not-clickable-do-not-link-to-page/
-
Problem with link in image captionhttps://wordpress.org/support/topic/problem-with-link-in-image-caption/
-
Links are not crawlablehttps://wordpress.org/support/topic/links-are-not-crawlable-8/
-
How do I disable attachments when linking from a post?https://wordpress.org/support/topic/how-do-i-disable-attachments-when-linking-from-a-post/
-
Amazon affiliate linkshttps://wordpress.org/support/topic/amazon-affiliate-links-2/