Post with no tag permalink problem

I don’t think there is an easy way to solve this, because /some-category/some-tag/ will be used as an overview page for all posts in category some-category and with tag some-tag. If an URL like /cocktails/bloody-mary/ comes in for a post with the name bloody-mary, category cocktails and no tags, WordPress can’t split it up correctly … Read more

Problem in getting user comments permalinks

Hi @Ayaz Malik: You need to use the function get_comment_link(). I’ve rewritten your code using some improved techniques and included the function call in place of what you had: global $wpdb; $sql =<<<SQL SELECT {$wpdb->comments}.comment_ID, {$wpdb->comments}.comment_post_ID, {$wpdb->comments}.comment_content, {$wpdb->posts}.post_title FROM {$wpdb->comments} INNER JOIN {$wpdb->posts} ON {$wpdb->comments}.comment_post_id={$wpdb->posts}.ID WHERE 1=1 AND {$wpdb->comments}.user_id = %d AND {$wpdb->comments}.comment_approved = 1 … Read more

How to change permalinks to show categoryname/post-name?

Without a link to the site in question, it’s hard to understand the exact problem. However, if the issue is the actual word “category” is being includes (i.e. example.com/category/category-name/post-name) then I would use this plugin (it’s one I use on almost every site) http://wordpress.org/extend/plugins/wp-no-category-base/

permalinks on title tag

There is no way to cause your permalink structure to be reflected automatically in the title tag. Instead, you must create it yourself. This might get you started: (I had to make a lot of assumptions in this code.) function my_title() { $post = get_queried_object(); $locations = wp_get_object_terms( $post->ID, ‘location’ ); $mba_courses = wp_get_object_terms( $post->ID, … Read more