NooTheme Premium WordPress Theme › Forums › JobMonster › 404 error after offer expires
- This topic has 6 replies, 2 voices, and was last updated 1 day, 14 hours ago by DAMIENN.
-
AuthorPosts
-
1 week, 3 days ago #1221227
Hello developers,
I have been using the JobMONSTER theme for almost 2 years and I would like to ask you a question about SEO with the theme. Indeed, I have recently been working with SENRUSH and several errors that I had not seen have surfaced.
When a job offer is published, it is valid for 90 days. After this period, I modified the code as you indicated to me in a previous ticket so that the offers remain visible: add_action('noo_job_check_expired_jobs', 'jm_job_expired_cron_action' ); on the job-expired.php file.
However, I have just noticed that between the first publication and the fact that the offer becomes "expired" the URL of the offer changes.
Here is an example:
https://www.emploi-moto.com/jobs/mecanicien-motocyles-h-f-pontarlier/
becomes after expiration:
https://www.emploi-moto.com/?post_type=noo_job&p=2573482
Is it possible that URLs won't change after expiration?
Sincerely
2 days, 20 hours ago #1221237Hi.
Thank you for contacting us.
The expired job will change status to expired, that is why the job URL will change to https://www.emploi-moto.com/?post_type=noo_job&p=2573482
To avoid that issue, you can keep the expired job status as activated. Please go to this file: /wp-content/themes/noo-jobmonster/framework/job/job-expired.php line 43 and remove the add_action add_action( 'noo_job_check_expired_jobs', 'jm_job_expired_cron_action' );
This will help you avoid changing the expired job status to expired.
Please recheck it.
Regards.
2 days, 19 hours ago #1221238This reply has been marked as private.2 days, 14 hours ago #1221239This reply has been marked as private.2 days, 13 hours ago #1221240I am attaching my file to you. Can you tell me what's wrong?
2 days, 7 hours ago #1221241Hi.
Can you share the file with Google Drive? It doesn't allow attach rar files.
Regards.
1 day, 14 hours ago #1221244This reply has been marked as private. -
AuthorPosts
You must be logged in and have valid license to reply to this topic.