• Hi,

    the current situation is that all expired job entries receive a “noindex” and are excluded from Google. How can this be changed to index continue?

    Thank you,
    Jan

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Jan von Storetown-Media

    (@jobhunter99)

    No ideas ?

    Plugin Author Giannis (a11n)

    (@gikaragia)

    Hey @jobhunter99,

    you can achieve this with the following snippet:

    function always_allow_job_listing_indexing( $index_job_listing, $post ) {
    	if ( 'expired' === $post->post_status ) {
    		return true;
    	}
    
    	return $index_job_listing;
    }
    
    add_filter( 'wpjm_allow_indexing_job_listing', 'always_allow_job_listing_indexing',10,2 );

    Feel free to modify the always_allow_job_listing_indexing function to suit your needs.

    Plugin Support Joseph B. (a11n)

    (@tamirat22)

    Hello @jobhunter99,

    It’s been one week since this topic was last updated. I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Job entries should remain on index after expiration’ is closed to new replies.