Adding page links to content that automatically convert to pretty permalinks?

Here is example of simple shortcode that will take ID as argument and echo permalink for it: function link_from_id($atts) { if( isset($atts[‘id’]) ) return get_permalink( (int)$atts[‘id’] ); } add_shortcode(‘link’, ‘link_from_id’); Usage: [link id=1] PS by the way non-pretty permalinks will keep working just fine if you enable pretty mode later and, if I remember right, … Read more

breadcrumbs & rel=”nofollow”

I think it depends what your goal is and what the breadcrumbs represent. I would say that for most wordpress sites nofollow on breadcrumbs is probably a nonissue. Let’s start with nofollow. Nofollow says you don’t want a search engine to pass on page rank to this link. So if you had comment links and … Read more

Use different taxonomies in different custom post types’ permalinks?

I will try to answer the question in detailed but keeping it as short as possible considering you have achieved the basics. Suppose our custom post type one is to be connected to taxonomy one. Let’s call them ‘console'(custom post type) and ‘brands'(taxonomy). You want to achieve: http://example.com/console/brands/sony/ Steps: Register the taxonomy first and attach … Read more

Specifying multiple categories in URL (permalink)?

Some folks asked the same question you did here. This one specifically worth reading, if you haven’t already. It has ottopress explanation for harmful permalinks. If you really want to force this, you could write your own permalink (http://domain.com/category/subcategory/post…), then either use htaccess rewrite rule or WP_Rewrite to take them to the link wordpress generated. … Read more