Do you need to take away archive pages out of your WordPress web site?
Archive pages, like class or tag archives, mechanically group your weblog posts for guests to browse. Whereas they are often useful for navigation and showcasing older content material, there could be occasions after they’re not essential.
On this article, we’ll present you the right way to take away archive pages in WordPress whereas holding your web site optimized and user-friendly.
What You Ought to Know About Eradicating Archive Pages
Have you ever ever seen pages in your WordPress web site itemizing older weblog posts by month, class, or tag? These are referred to as archive pages. They mechanically group your WordPress posts, which will be useful for navigation.

Nonetheless, there could also be instances the place it’s possible you’ll have to take away archive pages.
For instance, possibly these pages are creating duplicate content material points. Archives typically show excerpts of content material already out there on particular person WordPress posts, which search engines like google can flag as duplicate content material.
Every sort of archive web page additionally makes use of a distinct URL which will show related content material based mostly on a particular filter. This could unintentionally create a number of URLs whose content material overlaps.
Or, possibly you have got a class that isn’t used a lot or doesn’t make sense anymore. Deleting that class archive web page can clear up your web site.
Earlier than really eradicating these pages, although, there are some issues you could know. Some customers could use these pages to find and bookmark previous weblog posts they’re concerned about. In case you delete them, these customers might need hassle discovering these posts once more.
From an search engine optimisation (SEO) standpoint, deleting archive pages improperly can create damaged hyperlinks. This could frustrate guests who land on these damaged pages and harm your web site’s rating in search outcomes.
Whereas WordPress doesn’t help you immediately delete archive pages, there are workarounds you are able to do to handle them. On this step-by-step information, we’ll allow you to take away archive pages with out harming your WordPress search engine optimisation.
You should utilize these fast hyperlinks to skip to your most popular methodology:
Technique 1: Noindex Archive Pages With AIOSEO (Advisable)
The primary methodology is what we and plenty of search engine optimisation specialists suggest essentially the most. As an alternative of eradicating the archive pages fully, it’s higher to noindex them from search engines like google. This fashion, customers can nonetheless discover these pages in your web site, however search engines like google received’t contemplate them.
John Mueller from Google was really requested about this matter in a Q & A session one time. Right here’s what he needed to say:
You’ll be able to take away the content material of previous issues if you wish to, [or] you may transfer them to an archive part. You may make these previous pages noindex so that folks can nonetheless go there after they’re visiting your web site.
John Mueller, Search Advocate at Google
The best solution to noindex archive pages is utilizing a WordPress plugin like All in One search engine optimisation (AIOSEO). This methodology doesn’t require any code, making it beginner-friendly.
Plus, you get tons of different search engine optimisation options like an on-page content material optimizer, an search engine optimisation audit guidelines, schema markup help, and extra.
First, it’s good to set up the AIOSEO plugin. You should utilize the premium or free model, as each embody the options wanted to noindex archive pages.
For extra info, you may try our information on the right way to set up a WordPress plugin.
Possibility 1: Noindex A number of Archive Pages
For this feature, you may go to All in One search engine optimisation » Search Look. Then, navigate to the ‘Taxonomies’ tab.

Within the Classes part, go forward and click on ‘No’ within the ‘Present in Search Outcomes’ setting.
You’ll then see this notification: “Your Classes can be noindexed and excluded from the sitemap in order that search engines like google ignore them. You’ll be able to nonetheless management how their web page title seems like beneath.”

In case you change to the ‘Superior’ tab, you will notice that the default settings have been disabled.
The ‘No Index’ checkbox ought to have additionally been ticked within the Robots Meta Settings.

You’ll be able to then scroll all the way down to noindex your archive tag pages and different customized taxonomies you have got.
As soon as executed, simply click on ‘Save Modifications’ on the prime left nook.

To noindex date and creator archive pages, change to the ‘Archives’ tab.
You will note choices to noindex the creator and date pages.

Like earlier than, merely click on ‘No’ within the ‘Present Search Outcomes’ setting and repeat the identical step for the date archives web page beneath.
Then, hit the ‘Save Modifications’ button on the prime.

Possibility 2: Noindex Particular Archive Pages (Taxonomies Solely)
This selection is for noindexing solely particular archive pages. For instance, possibly you have got just one outdated class web page that you desire to search engines like google to not embody on outcomes pages, however you need the remainder of your class pages to nonetheless be listed.
What it’s good to do is open the class, tag, or customized taxonomy web page on the entrance finish of your web site. Then, click on ‘Edit Class’ on the highest admin bar, like within the screenshot beneath.

This may open the class or tag editor. Right here, simply scroll all the way down to the ‘AIOSEO Settings’ part and change to the ‘Superior’ tab.
In Robots Settings, disable the ‘Use Default Settings’ choice and tick the ‘No Index’ field.
After that, click on ‘Replace.’

Sadly, AIOSEO doesn’t have a function to noindex particular, non-taxonomy archive pages but. Fortunately there’s nonetheless a straightforward means to do this utilizing the strategy beneath.
Technique 2: Noindex Archive Pages With Code (For Particular Non-Taxonomy Pages)
If you wish to noindex non-taxonomy archive pages, you will have so as to add a customized code snippet to your web site, particularly your WordPress theme’s capabilities.php file.
If this course of sounds intimidating, don’t fear. The most secure means you may add code to WordPress is through the use of WPCode, the perfect code snippet plugin in the marketplace.
This plugin makes it simple to insert customized code with out immediately coping with your theme recordsdata, so that you’re much less more likely to break your web site. Plus, your customized code received’t get overwritten once you replace your theme, so your noindex code will keep in place.
First, it’s good to set up and activate WPCode. Each the free and premium variations will work tremendous for this tutorial, although the premium model comes with a particular mode to soundly take a look at your code earlier than it goes dwell.
For extra info, you may try our information on the right way to set up a WordPress plugin.
Subsequent, go to Code Snippets » + Add Snippet. Then, choose ‘Add Your Customized Code (New Snippet)’ and click on ‘Use snippet.’

Now, go forward and provides your new snippet a reputation. It may be one thing so simple as ‘Noindex Archive Pages.’
Then, make sure that the Code Kind is ‘HTML Snippet.’

Within the ‘Code Preview’ field, copy and paste the next code:
This code is a robots meta tag particularly designed to instruct search engines like google to not index a selected net web page.
As soon as executed, scroll all the way down to the ‘Insertion’ part.
Make certain the Insert Technique is ‘Auto Insert’ and the Location is ‘Web site Vast Header.’

Let’s transfer down the web page once more to the ‘Good Conditional Logic’ part.
What you need to do is activate the ‘Allow Logic’ setting.
As for the Situations, choose Present and select ‘Web page URL’ and ‘Is.’ You’ll be able to then insert the URL of the particular archive web page that you simply need to noindex within the final discipline.
Be at liberty to click on ‘AND’ so as to add extra pages to noindex.
As soon as executed, make the code ‘Lively’ and click on ‘Save Snippet.’

That’s it. To see in case your web page was efficiently noindexed, you may open the archive web page and consider its web page supply.
In case you use Chrome, then you will have to right-click anyplace on the web page and click on ‘View Web page Supply.’

Now, press Management/Command + F in your keyboard to convey up a search bar and kind in ‘noindex.’ It ought to spotlight the noindex tag you added earlier.
If it exists in between the <head>…</head> tags, then you have got added the code correctly.

Technique 3: Redirect Archive Pages to Keep away from Damaged Hyperlinks
Let’s say you’ve determined that eradicating sure archive pages out of your WordPress weblog is the perfect plan of action. However you’re anxious about damaged hyperlinks or annoyed guests who would possibly nonetheless attempt to entry them. This could occur if somebody has bookmarked an older archive web page in your web site.
What you are able to do is redirect the archive pages utilizing a redirect plugin as an alternative. This fashion, guests who land on these previous hyperlinks received’t see an error message.
Word: This methodology will use AIOSEO Professional because it has the function to simply redirect one web page to a different in your web site.
First, set up and activate AIOSEO on WordPress. You’ll be able to learn our information on the right way to set up a WordPress plugin for extra directions.
Then, go to All in One search engine optimisation » Redirects.
Within the ‘Redirects’ tab, insert the Supply URL (your archive web page) and Goal URL (the web page you need to redirect customers to).
We suggest selecting a web page that aligns with what guests could be in search of after they land on the previous archive web page.
As an illustration, say you have got a software program assessment web site and need to redirect a class archive for a discontinued platform. An excellent goal URL may very well be a current submit you wrote explaining why the software program is not out there.
This fashion, guests get useful info although the unique archive web page is gone.
Alternatively, you may redirect the consumer to the homepage.
Beneath, select a ‘Redirect Kind.’ You should utilize ‘301 Moved Completely’ if you would like the goal web page to be the brand new everlasting dwelling for guests who used to entry the archive web page.
Then, click on ‘Add Redirect.’

Now, go forward and open your previous archive web page. In case you land on the goal web page URL, which means the redirection is profitable.
For extra info, try our newbie’s information to creating 301 redirects in WordPress.
Technique 4: Take away Archive Pages With a Plugin (For Non-Weblog Websites)
Maybe your WordPress web site doesn’t have a weblog and archive pages don’t convey any worth to your web site. If that’s the case, then this methodology is for you.
You have to to put in the Good Archive Web page Take away plugin, which is able to make it simple to take away the archive pages out of your WordPress web site.
First, set up and activate the WordPress plugin in your admin space. Then, go to Settings » Archive Pages.
Subsequent, choose which archive pages you’d wish to delete and click on on the toggle buttons. As soon as executed, simply click on ‘Save Modifications.’

Once you go to your archive web page, it’s best to see a 404 error that claims the web page shouldn’t be discovered.
Various: Create Customized Archive Pages
As an alternative of eradicating archive pages fully, contemplate creating customized archive pages. This offers you extra management over how the pages look and performance, providing a greater consumer expertise for guests.
In case your archive web page is simple to navigate, customers will discover it helpful and keep longer in your web site. In flip, you may improve your pageviews and cut back your bounce charge, and search engines like google will see this as an indication that customers are liking your web site.
The best solution to create a customized archives web page is with SeedProd. This drag-and-drop web page builder has tons of templates and constructing blocks to design a user-friendly archives web page that folks discover useful.
Listed below are some ideas to enhance your archive pages:
Embody a customized search type to assist customers filter via the content material record.
Showcase your hottest content material from the archive to maintain guests engaged.
In case you have particular customized submit sorts (like recipes), strive creating and organizing archive pages for these posts for simpler navigation.
Show your archive pages within the sidebar or navigation menu in order that customers can simply entry them when wanted.
We hope this text helped you learn to take away archive pages in WordPress. You may additionally need to try our article on the right way to add and use widgets in WordPress and our record of must-have WordPress plugins to develop your web site.
In case you preferred this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You may as well discover us on Twitter and Fb.