Web Analytics World

Analytics, Mobile, Social Media and Digital Marketing Strategy

  • Home
  • About Us
  • Digital Marketing Courses
    • Digital Marketing Professional Certificate
    • MSc Digital Marketing Online
  • Current Bloggers
  • Contact Us
You are here: Home / Content Audit / Our Content Audit Part II: Deleting Older Content from your Site

Our Content Audit Part II: Deleting Older Content from your Site

September 29, 2015 by Fiona Roddis Leave a Comment

White keyboard with red panic and delete buttonsThis is the second post in my series talking you through how to carry out a content audit on your website. The next step in our content audit was to determine what to do with our older content. In the first post of this series we talked about creating 3 “piles”; Keep, Update or Bin. With a site the size of Web Analytics World we needed to take smaller bits of the content so we decided to sort by year then start looking at the Analytics from our Content Audit year by year starting with /2006/.

Filtering our Data

Using our gorgeous Main Content workbook from part 1 we can now do a text filter by year in our URL column. Simply click on the filter button and select “Text Filters” and then “contains”:

Screenshot of how to select text filters for a column of data in Excel

Opening the window below opens we simply add “/2006/” because that’s the first part of the URLs we’re looking for into the text field:

Screenshot of the text filter options in Excel

Even though we selected “contains” from our list you can always change your mind once you’re in this window. If you click on the “contains” dropdown list it will show you all your options and you can do a more advanced filter by using the and/or advanced filtering options as well.

Now that we’ve got our URLs for 2006 filtered we can take a look at the pageviews, backlinks and content to decide which posts we want to:

  1. Keep – posts that have some decent traffic, backlinks or the content is still up to date and relevant
  2. Update – posts we feel we can update and bring something new to the table so we’ll leave them live for now and then rel canonical them once the updated post is published
  3. Bin – posts we don’t think add anything to WAW. They’ve had little to no traffic over the 2.5 year period we selected, the content isn’t current and/or still relevant so we’ve decided to delete them

The Deletion Question Answered

Great! We’ve decided to delete a bunch of posts, 126 in fact from 2006 alone. Now what? Well we could just delete the posts and remove them from our sitemap and leave it at that because the posts we were deleting had no backlinks or any traffic for over 2 years. We wanted to redirect these “to be deleted” posts to more appropriate content and WordPress does have a few easy to setup post/page redirection, rel canonical and noindex/nofollow options:

Screenshot of the redireciton/nofollow/noindex options that WordPress offers

 However we like to keep things tidy so we needed to figure out a good way to remove the posts from the world without causing 404 errors and that wouldn’t take ages to actually do … No-one wanted to take one for the team and manually redirect all 126 posts for 2006 (not to mention all the other posts we wanted to delete). So we were forced to get creative.

The .htaccess of it All

In the end we settled on using .htaccess redirections for 2 reasons:

  1. It was a great way to redirect all the posts except for the few posts we wanted to keep/update
  2. It was a great opportunity for me to increase and hone my RegEx skills

The question then became – how DO we redirect 126 posts from 2006 except for the 6 posts we want to keep live? While our URL structure is setup as /year/month/post-name.html we couldn’t redirect by month either because the 5 posts we wanted to keep were (of course) all from different months.

So we setup exclusions.

This nifty piece of .htaccess code says if the URL is /2006/05/postname1.html or /2006/09/postname2.html then ignore it. Everything else that starts with /2006 redirect to /category/analytics with a permanent 301 redirection.

Final Checks

Once we implemented the redirections we checked the 2006 post URLs that we wanted to keep to make sure that they didn’t redirect. Then we checked a few random posts from the 73 we wanted to delete to make sure they did redirect. Lastly we randomly checked posts from the rest of the site to make sure that we didn’t inadvertently redirect something else.

Over the next few weeks we kept an eye on Search Console (formerly Webmaster Tools) to ensure that none of our redirections from 2006 caused any new 404’s or came up as 404’s and then we happily moved onto the next few years to repeat the process. For each new year we copied the posts into a new sheet in our main Content List workbook so we could keep track of each specific year.

The next and final post of this series will be looking at how we’re streamlining and tidying up the front of WAW with the help of a great platform called Ptengine. The team at Ptengine have given us a generous free trial of their analytics and heatmap tool so we can share our experience with you guys and so that I can use their heatmaps to find out what people are interacting with on our site!

If you have any questions, comments or suggestions about how we did our redirections or content in this post please leave us a comment.

Filed Under: Content Audit, SEO

About Fiona Roddis

I joined the Web Analytics World team in the second half of 2013 and am usually to be found at the other side of this blog, working with the writers and keeping everything running smoothly. I love learning about new applications and tools that can make an organisation’s marketing day run more smoothly so can’t resist writing the occasional review. Connect with me via LinkedIn

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get Your Professional Certificate

 
SEMrush

Never miss another post!

Entering your email address in the field below will subscribe you to our RSS to Email list. This means that when we publish a new post, you'll get an email with a synopsis of the post and links to the full article on this site.

  

You can unsubscribe from this service at any time by following the instructions within the notification email.

© 2019 Web Analytics World • Privacy • Cookies