Page slug same as term slug always redirects
-
I have a page with the slug ‘nursery’ (/all-classes/nursery/), and also have a custom taxonomy term ‘nursery’ (/class-blog/nursery/).
When I use
get_term_link
, it gives me what I want: a link to /class-blog/nursery/.But on clicking that link, I’m always redirected to /all-classes/nursery/.
That’s probably because of the trailing ‘nursery’, but it’s not correct and I wondered if anyone out there knows how to fix that. Flushing my permalink rules did not work.
Also, I need the page slug to be the same as the taxonomy term slug.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Page slug same as term slug always redirects’ is closed to new replies.