How to Add Title and NoFollow to Insert Link Popup in WordPress

Wp Plugins

Do you want to add a title or nofollow tag to your WordPress links?

By default, WordPress doesn’t provide a way of adding title and nofollow attributes when creating links with the WordPress block editor.

In this article, we’ll show you how to add options for title and nofollow attributes to the Insert Link popup in WordPress.

How to Add Title and NoFollow to Insert Link Popup in WordPress

Why Add Title and NoFollow Attributes to Links in WordPress?

When writing content, you can add links to interconnect your posts and pages and refer to articles on other sites. These links will tell visitors to your WordPress website where they can find more information on a topic.

It’s helpful to give your links a title. This will appear when someone points their mouse cursor over a link.

A Link With a Title

This can be reassuring to your readers because it makes it clear where the link leads. It also improves your site’s SEO.

SEO experts also recommend that you use a nofollow attribute when linking to external websites. This attribute tells search engines that they can crawl these links, but not pass on any link authority to these websites.

However, when you click the Insert Link icon in WordPress, there are no options to add a link title or to make the link nofollow. The popup only lets you add the Link URL and gives an option to open the link in a new window.

By Default, WordPress Does Not Allow You to Add Title and NoFollow Attributes

With that being said, let’s take a look at how to easily add title and nofollow options to the Insert Link popup on your WordPress blog.

How to Add Title and NoFollow to Insert Link Popup in WordPress

The first thing you need to do is install the free All in One SEO Lite plugin. For more details, see our step by step guide on how to install a WordPress plugin.

All in One SEO (AIOSEO) is the best WordPress SEO plugin and helps you improve your website SEO. You just need the free version to add extra attributes to the Add Link popup, but AIOSEO Pro offers even more features to help you rank better in search engine results pages.

Upon activation, you need to configure the plugin using the AIOSEO setup wizard. For detailed instructions, see our ultimate guide on how to set up All in One SEO for WordPress.

Once you’ve done that, the plugin will automatically add extra attributes to the Insert Link popup.

These include a title field and options to add nofollow, sponsored, and UGC (user-generated content) tags.

AIOSEO Adds NoFollow and Title Attributes to the Insert Link Popup

To add the link title, just type it into the ‘Add title attribute to link’ field. When when you save the link, AIOSEO will apply the title and any attributes you toggle on.

We hope this tutorial helped you learn how to add title and nofollow options to the Insert Link popup in WordPress. You may also want to learn how to speed up your WordPress performance or check out our list of must-have plugins to grow your site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Add Title and NoFollow to Insert Link Popup in WordPress first appeared on WPBeginner.

Optimal Content SEO Word Count for WordPress

Featured Imgs 23

Optimal Content SEO Word Count for WordPressThe longer your content’s SEO word count is, the better its ranking potential. Right? The average first page Google result contains 1,447 words. Some writers use this number as a strict goal, while others strive to produce more. However, achieving an ‘optimal’ word count for SEO rankings is much more complex than you might think. […]

The post Optimal Content SEO Word Count for WordPress appeared first on WPExplorer.

How to do onpage SEO?

Featured Imgs 11

I have website related to Pregnancy and baby care, but I want to improve my website traffic with keyword research and on page SEO, if anyone have ideas how to boost traffic of my website, Please tell me. You can visit website.

Noopener: What It Is and How It Affects Your WordPress Site?

Featured Imgs 23
You may have seen the term “noopener” when creating a link in WordPress. It most often appears when you insert a link in a page or blog post then open the Text/Code Editor to view the HTML that makes up that link. Sometimes it shows up and sometimes it doesn’t. Other times it gets paired with separate bits of code like “noreferrer” or “nofollow.”

How to Improve Domain Authority of Your WordPress Site

Featured Imgs 23

How to Improve Domain Authority of Your WordPress SiteIf you’re a marketing expert and know about SEO, you have surely come across the term Domain Authority. It’s a useful metric that many SEO professionals use to assess how likely content is to rank in the SERPs. Everyone interprets the relevance of domain authority differently. That makes the concept quite confusing. This blog post […]

The post How to Improve Domain Authority of Your WordPress Site appeared first on WPExplorer.

What benefits SEO offers to any business?

Featured Imgs 11

#1. SEO RESULTS TO HIGHER CONVERSION RATE
Search engine optimization can significantly increase the conversion rate of your site. Once your business becomes more popular long enough, your target market will realize the quality of the work you do. This initiative will aid you in establishing and maintaining your authority in your field.
#2. IT ENHANCES BRAND AWARENESS
Besides converting users into customers, improving your rankings also increases brand awareness. Even if you only reach the top and then climb your way up to the top of SERPs, you'll generate in-numerable touchpoints. Despite not clicking into your website, potential customers will associate your brand with the solutions you offer by simply being there.
#3. IT IS POSSIBLE TO DO SEO ON A BUDGET
Unlike other marketing strategies such as pay-per-click, SEO does not cost you any money other than your time if you manage it yourself. Search engines crawl A website 24/7, which promotes your crucial content and provides new customers organically. Invest some time reviewing the content on top-ranking sites in your niche, and aim to write better content than theirs. Once you've created content, post the information on your social networks.

Google Page Experience Update Tips for WordPress Sites

Featured Imgs 23

Google Page Experience Update Tips for WordPress SitesIf you want your website to be found by your target audience, it’s important to take Search Engine Optimization (SEO) seriously. Part of that involves staying updated on Google’s ranking signals, to ensure that your site adheres to proven best practices. Google’s Page Experience update is the latest change, and places a heavy emphasis on […]

The post Google Page Experience Update Tips for WordPress Sites appeared first on WPExplorer.

How to Disable Image Attachment Pages in WordPress

Category Image 091

Do you want to disable image attachment pages in WordPress?

Image attachment pages can look like incomplete pages on your site. If a visitor views these, then it can leave a poor impression.

In this article, we’ll show you how to disable image attachment pages in WordPress and redirect it to the parent post.

How to disable image attachment pages in WordPress

Why Should You Disable Image Attachment Pages in WordPress?

By default, WordPress creates a single page for every media attachment you have on your site.

This includes images, audio/video files, pdfs, and more. Some users might find this functionality useful, however, most WordPress websites don’t need it.

For example, a photography theme could use the attachment page to display EXIF data. This could show the camera model used, the camera settings, and even the image’s location data.

Often we get complaints from users who accidentally linked their images to the attachment pages, and they don’t like the way it looks.

This is a big issue because many themes don’t have special templates for the image attachment pages.

Sometimes an image on your website can become popular, and people might start landing on the attachment page directly from Google.

Ideally, you want visitors to land on your post and see the image in the context you have used it.

This is why we always recommend users to disable image attachment pages on their WordPress blog.

How to Disable Image Attachment Pages in WordPress (2 Methods)

There are two ways to disable image attachment pages in WordPress.

The first approach uses WordPress plugins, while the second involves adding custom code to WordPress.

You’ll want to choose the method that’s best suited for your skills.

Method 1: Disable Image Attachment Pages in WordPress (with a Plugin)

The easiest way to disable image attachment pages is to use a WordPress plugin. This method is beginner friendly and requires no coding.

We recommend using All in One SEO. It’s the best SEO plugin for WordPress used by over 2 million sites.

The first thing you’ll need to do is install and activate the plugin. To do this, see our guide on how to install a WordPress plugin.

Once the plugin is installed and activated, you’ll have a new menu item called ‘All in One SEO’.

Navigate to All in One SEO » Search Appearance. Next, click the ‘Media’ navigation tab.

All in One SEO search appearance media setting

The first setting is ‘Redirect Attachment URLs’. You can disable the setting entirely, redirect to the attachment page, or the attachment parent page.

We recommend redirecting to the ‘Attachment Parent’ page. That way, when a user lands on the image attachment page, they’ll be redirected to your article instead.

All in One SEO select attachment parent

Once you select your preferred setting, make sure to click ‘Save Changes’ before exiting the screen.

If you aren’t using the All in One SEO plugin, you can still disable image attachment pages and redirect users to a parent post using a plugin called Attachment Pages Redirect.

All you have to do is install and activate the plugin. It’ll automatically start redirecting users that land on attachment pages to the parent post.

If no parent post is found, then users will be redirected to your homepage.

This plugin works out of the box and has no settings page. Simple and easy.

Method 2: Disable Image Attachment Pages in WordPress (with Code Snippet)

Another option is to add a code snippet to WordPress that accomplishes the same goal as the plugin above.

If you don’t want to use a plugin or feel that you’re already using too many WordPress plugins, then you can use this method.

First, you’ll need to create a new file in your WordPress theme folder and name it image.php. If your theme already has an image.php file, then you’ll need to edit that file instead.

After that, all you have to do is add the following code as the first line in your image.php file:

<?php wp_redirect(get_permalink($post->post_parent)); ?>

Next, you need to save the image.php file and upload it to your theme directory using FTP or your WordPress hosting control panel.

Now, when a user lands on your image attachment page, they’ll be redirected to the parent post.

We hope this article helped you disable image attachment pages in WordPress. You may also want to see our beginner’s guide to image SEO and our guide on how to fix common image issues in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Disable Image Attachment Pages in WordPress appeared first on WPBeginner.

10 SEO Tips for Effective Websites: Non-Obvious Tips Proven to Work

Featured Imgs 23
If you have a website and want it to be found online, you’ll have to utilize Search Engine Optimization (SEO) sooner or later. Chances are you’re already familiar with the concept of keywords and Google bots. However, with the ever-changing digital landscape, it’s hard to find relevant and trustworthy website SEO tips.