Permalink help with default Posts and custom Taxonomy

This is what we ended up coming up with that seems to work. I’m not sure if it’s the best or right approach but it seems to do the trick. Anyone forsee any problems with this route? //Re-register default post type for rewrite purposes. function zbt_reregister_post() { register_post_type( ‘post’, array( ‘labels’ => array( ‘name_admin_bar’ => … Read more

Post Type rewrite rule to point to custom Page/template

I really don’t know why it’s doing this redirect, but i fixed this by changing the post_type&name $newrules[‘lessons/(.+)/home/?$’] = ‘index.php?post_type=page&name=lessonhome&home=yes’; to page_id: $newrules[‘lessons/(.+)/home/?$’] = ‘index.php?page_id=24&home=yes’; or to pagename: $newrules[‘lessons/(.+)/home/?$’] = ‘index.php?pagename=lessonhome&home=yes’; and it’s working fine!

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)