My CPT has archive false, now I need use parent Page for slug

I have a custom post type 'services', but the archive is false, I am using a page as services.

But now I need this slug

mydomain.com/services/taxonomy/post2

How I can link my taxonomies with Services page as parent.

It is possible?

Thank you

Topic custom-post-types Wordpress

Category Web


In your register_taxonomy $args list, you need to add this:

"rewrite" => array( "slug" => "services/taxonomy", "with_front" => true ),

This will prepend services to your taxonomy slug.

See here for more arguments: https://codex.wordpress.org/Function_Reference/register_taxonomy#Arguments

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.