All Category links are broken...error with get_term_link( $cat->slug, 'jobman_category' )

Issue #653 invalid
Michael ZeMans created an issue

All links (user facing and within the admin) for very job category page is malformed because the get_term_link( $cat->slug, 'jobman_category' ) fails to assemble the URL properly.

Instead of appending the relative path for the category page to the root domain, it instead appends it to the full path of my blog's Index page?!?

Below is a screen cap of an example...my site's blog Index page resides at /mission-stories/ but is wholly unrelated to my jobs pages.

Screen Shot 2016-08-30 at 3.20.30 PM.png

In this case the correct URL for this Marketing category is https://maryknollsociety.org/about/jobs/marketing/, but you can see that the embedded URL appending the right URI to the wrong base root.

Can you please advise on a fix as this is presenting broken links to all our visitors (and to Google too).

Thanks, Mike

Comments (2)

  1. Log in to comment