Support » Plugin: WP Permastructure » After several hours trying to get permalinks fixed, this did it for me !

  • THANK YOU!

    For anyone who is still stuck, you have to juggle the permalinks set up until you get the desired effect. This is not a fault of the plugin, but of the seemingly fragile nature of WordPress permalinks and rewrite rules.

    For my set up, I simply wanted to get example.com/custom-post-type/taxonomy/post-name

    This is how I set it up

    Dashboard > Settings > Permalinks > SELECT POST NAME
    YOUR CUSTOM POST: permalink structure > your-custom-post-type-name/%taxonomy_name%/%postname%/

    MAKE SURE this is added to your register_post_type arguments
    (Yes, under the register post type, not under taxonomies.)

    ‘rewrite’ => array( ‘permastruct’ => ‘your-custom-post-type-name/%taxonomy_name%/%postname%/’ ),

    Good luck ! WordPress CPT permalinks suck – but thanks to this plugin I’m rocking and rolling again!

  • The topic ‘After several hours trying to get permalinks fixed, this did it for me !’ is closed to new replies.