How To Easily Disable Image Attachment Pages In WordPress – 19coders

Do it is advisable to understand how to easily disable image attachment pages in WordPress?

Image attachment pages can hurt your web site positioning since Google and completely different serps like google take into consideration them “skinny content material”. They solely current the image you’ve uploaded to your publish or net web page, which isn’t useful for each prospects or serps like google. 

So on this publish, we’ll current you the way in which to easily disable image attachment pages in WordPress and redirect them once more to your images. We’ll moreover make clear what an attachment net web page is and why you have to disable it in your WordPress website online. 

Feel free to click on on on these quick hyperlinks to leap straight to utterly completely different sections:

What Is a WordPress Attachment Page?

A WordPress attachment net web page is an mechanically generated net web page that reveals a single media file, akin to an image, zip file, movie, or PDF doc.

Advertisements

Whenever you add an image or completely different media file when modifying a publish or net web page, the file is “connected” to that net web page. (On the other hand, when you occur so as to add a file immediately to the Media Library, it’s not related to any publish or net web page.)

The mechanically generated attachment net web page will present the media file and its title, metadata, and possibly moreover suggestions.

You can view attachment pages by clicking on Media within the WordPress dashboard menu. Click on the image, and scroll all the way down to the View attachment net web page hyperlink and click on on on it to view the attachment net web page.

view attachment page in wordpress

Why You Should Disable Image Attachment Pages

You should disable image attachment pages in WordPress because of they’re of little value and will hurt your web site positioning. The solely issue these pages do is to current an even bigger mannequin of your image, and most WordPress websites don’t need them. 

They moreover embody minimal textual content material content material materials, which serps like google take into consideration to be low prime quality or “skinny content material”. This will lastly hurt your web site positioning rankings since shopper experience is Google’s prime priority.

That’s why you have to disable image attachment pages in your website online, which we’ll current you the way in which to easily do using the easiest web site positioning plugin for WordPress, All in One web site positioning (AIOSEO). 

Advertisements

Easily Disable Image Attachment Pages in WordPress

The best WordPress SEO plugin, All in One SEO

Fortunately, you’ll be capable to merely disable your image attachment pages in your WordPress website online with All in One web site positioning. 

AlOSEO is a complete web site positioning plugin that comes with many superior and extremely efficient web site positioning devices and choices:

Alright, let’s dig in!

Manually Disable Attachment Pages

To get started, you first wish to arrange and activate AIOSEO in your WordPress website online. If you haven’t put in a plugin sooner than, please go to WPBeginner’s info on how to install a WordPress plugin.

Once you’ve activated AIOSEO, it mechanically turns off attachment URLs. But chances are you’ll as nicely manually flip them off by visiting All in One web site positioning » Search Appearance and click on on on the Image web site positioning tab.

search appearance media in all in one seo

Then, make it attainable for the Redirect Attachment URLs chance is able to Attachment.

Advertisements

redirect attachment urls

As simple as that!

Now your attachment pages could be redirected to the image itself. This implies that every time any individual visits the URL in your attachment net web page, they’ll see the image instead. And that’s moreover our default setting which we advocate using.

Redirect Image Attachment to Parent Post 

If it is advisable to redirect an image attachment to your publish in WordPress, you merely set the Redirect Attachment URLs setting to Attachment Parent

Redirect attachment image pages to post in All in One SEO

When using this setting, your attachment pages could be redirected to the publish or net web page that the image is related to. 

So every time any individual visits your attachment net web page, they’ll see the publish or net web page the place the image was uploaded to instead of the attachment net web page.

Note: If you’ve uploaded an image immediately to the image library (not related it to any publish or net web page) and in addition you’ve chosen the ultimate chance, your website online company will nonetheless see the attachment net web page. 

Advertisements

Show Attachment Pages in Search Results

If you proceed to want your media attachment pages to appear in search outcomes you’ll be capable to set this setting to Disabled instead.

disable redirect attachment urls

That’s it!

We hope this weblog publish helped you be taught the way in which to disable image attachment pages in WordPress. Use the following advice, and in addition you’ll make sure that your image attachment pages acquired’t current up in search outcomes. Best of all, Google acquired’t penalize you for creating “skinny content material”.  

Before you go, when you’d wish to be taught the way in which to optimize your weblog publish like an expert, you have to check out our weblog publish web site positioning pointers or web site positioning biggest practices. 

And when you’d like to enhance your pure web site guests at doc velocity, you have to check out 30 web site positioning hacks assured to develop your web site guests.

Not using AIOSEO however? What are you prepared for?

Advertisements