• Resolved edgar_diaz

    (@edgar_diaz)


    Hello
    Our job listing are set to expire after 30 days.
    But some time later they disappear from the expired list in the dashboard.
    Therefore Google Webmaster tools is reporting the job listings as crawl errors and 404 results, because the listings do not exist anymore.

    How can I prevent the job listing for being deleted and keep all listings as expired?

    thank you

    https://www.ads-software.com/plugins/wp-job-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike Jolley

    (@mikejolley)

    I think you may be trying to fix the symptom rather than the cause. Google should only Crawl pages you link to – are you still linking to the expired jobs anywhere? Sitemap?

    If you insist on turning it off, add this code to your theme functions.php file:

    add_filter( 'job_manager_delete_expired_jobs', '__return_false' );
    Thread Starter edgar_diaz

    (@edgar_diaz)

    thank you Mike will do it.

    Believe me, we have tried:
    sitemap.xml does not include the jobs
    robots.txt looks like this:

    User-agent: *
    Disallow: /jobs/

    In Yoast SEO we have set the jobs to (noindex, nofollow)

    and they are still being indexed by Google…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Crawl errors Google Webmaster tools’ is closed to new replies.