Viewing 5 replies - 1 through 5 (of 5 total)
  • I have the same request, did you find any solution?

    Thanks ??

    I found a solution by editing the file “CPTP/Module/Rewrite.php” of the plugin.

    Line 138 (line under // [Xiphe] stop) add this :

    $terms = get_terms( $taxonomypat );
    if ($terms) {
    foreach($terms as $term) {
    add_rewrite_rule( $slug.’/’.$term->slug.’/?$’, ‘index.php?’.$taxonomypat.’=’.$term->slug, ‘top’ );
    }
    }

    Hope this helps.

    Thread Starter matthewordie

    (@matthewordie)

    Cool thanks I was thinking of doing that but I hate modifying plugin cores. I just ended up finding a taxonomy slug that I felt wasn’t intrusive to my url.

    OK ??

    I’m sorry, I do not merge to fix it.
    If the term of the same name a slug of a post exists, problem occurs.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove Taxonomy Name but not terms from Taxonomy URLS?’ is closed to new replies.