enable permalinks in window hosting

You’ll need to know which version of IIS running on the server. Old IIS did not have url re-write built-in and require third party module to function. New IIS have them built-in and some cases they also can load your .htaccess file for rules. Make sure you have IIS URL Rewrite installed and enabled.

Permalinks for custom taxonomy stopped to work

Sometimes a plugin changes WordPress’ internal rewrite rules during an update, an installation or deactivation. If the plugin’s update happens to run after your taxonomy registration it may just wipe out the custom rules for the taxonomy. To inspect the currently active rewrite rules use the plugin Monkeyman Rewrite Analyzer. See this answer for details. … Read more

How to Filter categories in the permalink structure

strangely familiar to this, but it is different, so here’s a modified version add_filter( ‘post_link’, ‘remove_parent_cats_from_link’, 10, 3 ); function remove_parent_cats_from_link( $permalink, $post, $leavename ){ $cats = get_the_category( $post->ID ); if ( $cats ) { // Make sure we use the same start cat as the permalink generator // what happens now actually is the … Read more