The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Best Way To Handle Expired Content

    Best Way To Handle Expired Content

    Technical SEO Issues
    6 4 1.2k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Matthew_Edgar
      Matthew_Edgar last edited by

      Hi,

      I have a client's site that posts job openings. There is a main list of available jobs and each job has an individual page linked to from that main list. However, at some point the job is no longer available. Currently, the job page goes away and returns a status 404 after the job is no longer available.

      The good thing is that the job pages get links coming into the site. The bad thing is that as soon as the job is no longer available, those links point to a 404 page. Ouch. Currently Google Webmaster Tools shows 100+ 404 job URLs that have links (maybe 1-3 external links per).

      The question is what to do with the job page instead of returning a 404. For business purposes, the client cannot display the content after the job is no longer available. To avoid duplicate content issues, the old job page should have some kind of unique content saying the job is longer available.

      Any thoughts on what to do with those old job pages? Or would you argue that it is appropriate to return 404 header plus error page since this job is truly no longer a valid page on the site?

      Thanks for any insights you can offer.
      Matthew

      1 Reply Last reply Reply Quote 1
      • EGOL
        EGOL last edited by

        I have expiring content on one of my sites.

        I place all of the postings into folders according to date such as...

        mysite.com/postings/2012/02/job-at-mcds/

        Then on certain dates I add an htaccess file to the /2012/02/ folder that will 301 redirect all items in that folder to the homepage.

        You could 301 the old posts to a job search page or some other type of page that will introduce the visitor to your site.

        Matthew_Edgar 1 Reply Last reply Reply Quote 3
        • Boodreaux
          Boodreaux last edited by

          EGOL..Your technical response is way above me....could you restate in tyro terms.

          Is the expired data hidden? Does the 301 redirect go to homepage or job search page or either? What value does it add?  Keywords? I guess the pages would still be indexed in order for value to be created or does a 301 redirect just add all the value on the page it is redirected too?  I will also go look up 301 redirects right now. 🙂

          Utah Tiger

          1 Reply Last reply Reply Quote 1
          • coremediadesign
            coremediadesign last edited by

            Hi Matthew,

            What I would do is to still have it accessible through a direct link, but not through a list of jobs displayed on the main site. I would also include the note at the top of the page saying something like 'This job offer has already expired'.

            This way you still have a page, which is unique, does not show on the main jobs list and indicates that it is expired.

            I'm not sure how much of the programming knowledge you have and what technology is the site built in, but a simple IF condition in your SQL statement to add specific flag to each record indicating whether it is expired or not would be something like this (this specific one is based on the MySQL syntax):

            IF (
                CURDATE() BETWEEN date_from AND date_to,
                0,
                1
            ) AS expired

            Then, when you call specific job you simply check whether the 'expired' field is equal 1 - and if so - display the message above the job.

            I hope this helps.

            Matthew_Edgar 1 Reply Last reply Reply Quote 1
            • Matthew_Edgar
              Matthew_Edgar @EGOL last edited by

              I like that idea of 301 redirecting the page back to the job search page. The search page would certainly be a good introduction and probably satisfy looking for the job. These pages aren't high ranking pages in the SERPs, the traffic is referral traffic from other websites. Give that, so Utah Tiger's question about keywords and search engine wouldn't apply in this website's case. Thanks for the idea!

              1 Reply Last reply Reply Quote 0
              • Matthew_Edgar
                Matthew_Edgar @coremediadesign last edited by

                Hey Sebastian -

                We already do something similar to know if it is expired (instead of the if condition in MySQL, we query for records where job_closing_date >= CURDATE()). Thankfully they programmed that in to pull the old job off the list and out of the job search results. (Though up until yesterday the old jobs were on the XML sitemap...woops. Guess what I fixed yesterday!)

                I like your idea though of keeping the content active and keeping the page alive, but with some kind of message above there. That would definitely keep the page unique. I'm not positive that will fly on the business side but I'll definitely propose that.

                Thanks for the reply!

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Best way to fix duplicate content issues
                  Joe_Stoffel
                  Joe_Stoffel
                  0
                  5
                  149

                • What is the best way to show content in Listing Pages?
                  Everett
                  Everett
                  0
                  5
                  187

                • What is the best way to handle links that lead to a 404 page
                  JaneCopland
                  JaneCopland
                  0
                  6
                  86

                • What is the best way to handle these duplicate page content errors?
                  Felip3
                  Felip3
                  0
                  3
                  100

                • Best way to deal with over 1000 pages of duplicate content?
                  benjmoz
                  benjmoz
                  0
                  6
                  157

                • Best Way to Break Down Paginated Content?
                  FedeEinhorn
                  FedeEinhorn
                  0
                  3
                  325

                • Best Way to Fix Dupe Content
                  DeanAndrews
                  DeanAndrews
                  0
                  3
                  184

                • What is the best practice to handle duplicate content?
                  trophycentraltrophiesandawards
                  trophycentraltrophiesandawards
                  0
                  3
                  408

                Get started with Moz Pro!

                Unlock the power of advanced SEO tools and data-driven insights.

                Start my free trial
                Products
                • Moz Pro
                • Moz Local
                • Moz API
                • Moz Data
                • STAT
                • Product Updates
                Moz Solutions
                • SMB Solutions
                • Agency Solutions
                • Enterprise Solutions
                • Digital Marketers
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority Checker
                • Local Citation Checker
                • MozBar Extension
                • MozCast
                Resources
                • Blog
                • SEO Learning Center
                • Help Hub
                • Beginner's Guide to SEO
                • How-to Guides
                • Moz Academy
                • API Docs
                About Moz
                • About
                • Team
                • Careers
                • Contact
                Why Moz
                • Case Studies
                • Testimonials
                Get Involved
                • Become an Affiliate
                • MozCon
                • Webinars
                • Practical Marketer Series
                • MozPod
                Connect with us

                Contact the Help team

                Join our newsletter
                Moz logo
                © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy