How to Remove Archive Pages in WordPress (4 Easy Methods)
Do you wish to take away archive pages out of your WordPress web site?
Archive pages, like class or tag archives, routinely group your weblog posts for guests to browse. Whereas they are often useful for navigation and showcasing older content material, there is perhaps instances after they’re not vital.
On this article, we are going to present you learn how to take away archive pages in WordPress whereas retaining 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 routinely group your WordPress posts, which might be useful for navigation.
Nevertheless, there could also be circumstances 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 usually show excerpts of content already accessible on particular person WordPress posts, which engines like google can flag as duplicate content material.
Every sort of archive web page additionally makes use of a distinct URL that will show comparable content material based mostly on a particular filter. This will unintentionally create a number of URLs whose content material overlaps.
Or, possibly you might have a category 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 need to know. Some customers might use these pages to find and bookmark previous weblog posts they’re enthusiastic about. In the event you delete them, these customers may need bother discovering these posts once more.
From an SEO (search engine optimization) standpoint, deleting archive pages improperly can create damaged hyperlinks. This will frustrate guests who land on these damaged pages and harm your web site’s rating in search outcomes.
Whereas WordPress doesn’t help you straight delete archive pages, there are workarounds you are able to do to handle them. On this step-by-step information, we are going to allow you to take away archive pages with out harming your WordPress SEO.
You should utilize these fast hyperlinks to skip to your most popular methodology:
Technique 1: Noindex Archive Pages With AIOSEO (Beneficial)
The primary methodology is what we and plenty of search engine marketing consultants advocate essentially the most. As an alternative of eradicating the archive pages fully, it’s higher to noindex them from search engines. This fashion, customers can nonetheless discover these pages in your web site, however 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 possibly can take away the content material of previous issues if you wish to, [or] you’ll be able to 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 simplest approach to noindex archive pages is utilizing a WordPress plugin like All in One SEO (AIOSEO). This methodology doesn’t require any code, making it beginner-friendly.
Plus, you get tons of different search engine marketing options like an on-page content material optimizer, an SEO audit checklist, schema markup assist, and extra.
First, you must set up the AIOSEO plugin. You should utilize the premium or free version, as each embody the options wanted to noindex archive pages.
For extra info, you’ll be able to take a look at our information on how to install a WordPress plugin.
Choice 1: Noindex A number of Archive Pages
For this feature, you’ll be able to go to All in One search engine marketing » 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 shall be noindexed and excluded from the sitemap in order that engines like google ignore them. You possibly can nonetheless management how their web page title seems to be like beneath.”
In the event 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 possibly can then scroll right down to noindex your archive tag pages and different custom taxonomies you might have.
As soon as finished, simply click on ‘Save Modifications’ on the prime left nook.
To noindex date and writer archive pages, change to the ‘Archives’ tab.
You will notice choices to noindex the writer 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.
Choice 2: Noindex Particular Archive Pages (Taxonomies Solely)
This feature is for noindexing solely particular archive pages. For instance, possibly you might have just one outdated class web page that you prefer to engines like google to not embody on outcomes pages, however you need the remainder of your class pages to nonetheless be listed.
What you must 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 can open the class or tag editor. Right here, simply scroll right 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 manner to do this utilizing the tactic beneath.
Technique 2: Noindex Archive Pages With Code (For Particular Non-Taxonomy Pages)
If you wish to noindex non-taxonomy archive pages, you will want so as to add a customized code snippet to your web site, particularly your WordPress theme’s functions.php file.
If this course of sounds intimidating, don’t fear. The most secure manner you’ll be able to add code to WordPress is through the use of WPCode, the very best code snippet plugin in the marketplace.
This plugin makes it simple to insert custom code with out straight 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 while you replace your theme, so your noindex code will keep in place.
First, you must set up and activate WPCode. Each the free and premium variations will work positive for this tutorial, although the premium model comes with a particular mode to securely take a look at your code earlier than it goes reside.
For extra info, you’ll be able to take a look at our information on how to install 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, be certain the Code Kind is ‘HTML Snippet.’
Within the ‘Code Preview’ field, copy and paste the next code:
<meta title="robots" content material="noindex">
This code is a robots meta tag particularly designed to instruct engines like google to not index a selected internet web page.
As soon as finished, scroll right down to the ‘Insertion’ part.
Be sure that 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 ‘Sensible Conditional Logic’ part.
What you wish to do is activate the ‘Allow Logic’ setting.
As for the Situations, choose Present and select ‘Web page URL’ and ‘Is.’ You possibly can then insert the URL of the precise archive web page that you just wish to noindex within the final area.
Be at liberty to click on ‘AND’ so as to add extra pages to noindex.
As soon as finished, make the code ‘Lively’ and click on ‘Save Snippet.’
That’s it. To see in case your web page was efficiently noindexed, you’ll be able to open the archive web page and look at its web page supply.
In the event you use Chrome, then you will want to right-click wherever on the web page and click on ‘View Web page Supply.’
Now, press Management/Command + F in your keyboard to deliver 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 might have 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 very best plan of action. However you’re anxious about broken links or annoyed guests who would possibly nonetheless attempt to entry them. This will 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 a substitute. This fashion, guests who land on these previous hyperlinks received’t see an error message.
Observe: This methodology will use AIOSEO Pro 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 possibly can learn our information on how to install a WordPress plugin for extra directions.
Then, go to All in One search engine marketing » Redirects.
Within the ‘Redirects’ tab, insert the Supply URL (your archive web page) and Goal URL (the web page you wish to redirect customers to).
We advocate selecting a web page that aligns with what guests is perhaps searching for after they land on the previous archive web page.
As an example, say you might have a software program evaluate web site and wish to redirect a class archive for a discontinued platform. An excellent goal URL might be a latest put up you wrote explaining why the software program is now not accessible.
This fashion, guests get useful info though the unique archive web page is gone.
Alternatively, you’ll be able to redirect the person 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 the event you land on the goal web page URL, meaning the redirection is profitable.
For extra info, take a look at our beginner’s guide to creating 301 redirects in WordPress.
Technique 4: Take away Archive Pages With a Plugin (For Non-Weblog Websites)
Maybe your WordPress website doesn’t have a weblog and archive pages don’t deliver any worth to your website. If that’s the case, then this methodology is for you.
You’ll need to put in the Smart Archive Page Remove plugin, which is able to make it simple to take away the archive pages out of your WordPress website.
First, install and activate the WordPress plugin in your admin space. Then, go to Settings » Archive Pages.
Subsequent, choose which archive pages you’d prefer to delete and click on on the toggle buttons. As soon as finished, simply click on ‘Save Modifications.’
Once you go to your archive web page, it is best to see a 404 error that claims the web page is just not discovered.
Various: Create Customized Archive Pages
As an alternative of eradicating archive pages fully, contemplate creating custom archive pages. This offers you extra management over how the pages look and performance, providing a greater person 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’ll be able to increase your pageviews and reduce your bounce rate, and engines like google will see this as an indication that customers are liking your web site.
The simplest approach 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 suggestions to enhance your archive pages:
- Embody a custom search form to assist customers filter by way of the content material record.
- Showcase your most popular content from the archive to maintain guests engaged.
- You probably have particular custom post types (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 discover ways to take away archive pages in WordPress. You might also wish to take a look at our article on how to add and use widgets in WordPress and our record of must-have WordPress plugins to develop your web site.
In the event you preferred this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You may also discover us on Twitter and Facebook.