Title: slug bug
Last modified: August 21, 2019

---

# slug bug

 *  Resolved [superbadshit](https://wordpress.org/support/users/superbadshit/)
 * (@superbadshit)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/slug-bug-2/)
 * Your plugin is using /jobs slug. so when a single job is viewed it appears like
   so: [https://website.com/jobs/bricklayer/](https://website.com/jobs/bricklayer/)
   all good. This is the case when under permalinks settings it is set to use the/%
   postname%/ slug.
    This was a problem for us because under the blog we needed 
   to use /news/%postname%/ so we changed it to this custom structure: /news/%postname%/
   and the website now displays the blog like so: [https://website.com/news/%postname%/](https://website.com/news/%postname%/)
   which is what we need BUT your plugin inherits the /news/ bit and now each individual
   job is displayed under /news/jobs/bricklayer/ so on the website it looks: [https://website.com/news/jobs/bricklayer/](https://website.com/news/jobs/bricklayer/)
   which is obviously what it shouldn’t do.
 * Can this be fixed so it doesn’t use the blog slug structure or inherit it when
   custom slug structure is used?
    -  This topic was modified 6 years, 8 months ago by [superbadshit](https://wordpress.org/support/users/superbadshit/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [vidyakv](https://wordpress.org/support/users/vidyakv/)
 * (@vidyakv)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/slug-bug-2/#post-11860633)
 * Hi [@superbadshit](https://wordpress.org/support/users/superbadshit/)
 * Thanks for reaching out to us.
 * Currently, we don’t provide any UI to change this behavior. But, you can fix 
   this by copying and pasting the below snippet of code in your theme’s functions.
   php file(we recommend child theme). After that, go to WordPress Settings > Permalinks
   and click Save Changes.
 * `function awsm_job_openings_args( $args ) {
    $args['rewrite']['with_front'] =
   false; return $args; } add_filter( 'awsm_job_openings_args', 'awsm_job_openings_args',
   11 );
 * Regards,
    Vidya K V

Viewing 1 replies (of 1 total)

The topic ‘slug bug’ is closed to new replies.

 * ![](https://ps.w.org/wp-job-openings/assets/icon.svg?rev=3525528)
 * [HireZoot – (WP Job Openings) Job Listings, Career Page & Recruitment Tool](https://wordpress.org/plugins/wp-job-openings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-job-openings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-job-openings/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-job-openings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-job-openings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-job-openings/reviews/)

## Tags

 * [slug](https://wordpress.org/support/topic-tag/slug/)

 * 1 reply
 * 2 participants
 * Last reply from: [vidyakv](https://wordpress.org/support/users/vidyakv/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/slug-bug-2/#post-11860633)
 * Status: resolved