Page_link change

As suspected, this needed a rewrite rule.. I don’t know why post_link filter didn’t need a rewrite rule added.. function ba_rewrite() { add_rewrite_rule(‘^([^/]*)?.php’, ‘index.php?pagename=$matches[1]’, ‘top’); } add_action( ‘init’, ‘ba_rewrite’ );

Broken paths on taxonomies after changing permalink to post name

I added a rewrite rule manually. add_rewrite_rule(‘^bar([^/]+)(/[0-9]+)?/?$’,’index.php?bar=$matches[1]’,’top’); right after add_action(‘init’, ‘register_taxonomy_bar’); in functions.php. But WordPress is SERIOUSLY DENSE in translating /bar/foo/ to barfoo?bar=foo and I don’t know how to get around this nonsensical “barfoo” in the path. I also have no idea what it’ll do to paging. Also this has to be defined for each … Read more

Change the permalinks structure

When you save permalink settings, is there the following notification at the bottom of page? If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all. I’m … Read more