How to do make mysite.com/post-name/sub-post?

You could create a custom post type and set hierarchical to true, but keep the post capability role. The link below is a good starting place. http://codex.wordpress.org/Post_Types Although I would strongly recommend using some sort of javascript html css workaround. Maybe a jquery ui tabbed interface located inside of your single.php theme like “http://www.mysite.com/post-name/#video”

Rewrite rule that wp-login.php?action=register is left alone

I’m assuming that you’re working with one of the latest versions, but I used the latest 1.5.1. Without knowing how your specific Facebook Connect plugin works and why it breaks here’s what I’ve come up with. Short answer // bp-members/bp-members-signup.php ~ line 611 if ( defined( ‘BP_SKIP_REGISTRATION_REDIRECT’ ) and BP_SKIP_REGISTRATION_REDIRECT ) wp_redirect( ‘/?pagename=register’ ); And … Read more

Custom taxonomy and post type rewrite rules

I hope i understand you 🙂 I think the easiet way (in my humble opion) the best way is to use taxomonies like so: function portfolio_taxomony() { register_taxonomy( ‘portfolio’, ‘post’, array( ‘hierarchical’ => true, ‘label’ => ‘Web Design’, ‘query_var’ => true, ‘rewrite’ => true ) ); } add_action( ‘init’, ‘portfolio_taxomony’, 0 ); (Web Design if … Read more

Rewrite rules for custom post type

You need to look at add_rewrite_tag() and add_rewrite_rule() Also read this and this topics. They are very close to you issue. After you setup rewrite rule don’t forget to flush rules add_action( ‘wp_loaded’,’my_flush_rules’ ); // flush_rules() if our rules are not yet included function my_flush_rules(){ $rules = get_option( ‘rewrite_rules’ ); $pattern = ‘news/([^/]+)?’; // the … Read more

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