How to create an IIS7 re-write rule for a single category

I would strongly suggest leaving IIS alone and implement your requirements in WordPress: /** * Remove category base from “newcat” permalink. * * @param string $link * @param object $term * @return string */ function wpse_175424_term_link( $link, $term ) { if ( $term->taxonomy === ‘category’ && $term->slug === ‘newcat’ ) $link = home_url( user_trailingslashit( $term->slug … Read more

Creating custom URL for async content

In general the pretty permalinks are domain of Rewrite API in WordPress. But they convert the links into query variables for back–end PHP side of it. Hashbang links are domain of JavaScript. It is impossible to say how easy would be to change them, without very specific knowledge of how theme’s JS implements them.

How to show my application as referral in WordPress Stats

It is not possible to directly set a referrer. See: https://stackoverflow.com/questions/14235377/http-referer-and-bookmark You can still track this data by passing a parameter in the url and then listening for that parameter in WordPress. For example, you could set the parameter from_desktop in the url, so your url would look like www.example.com/page-slug/?from_desktop=1. Once you’ve got this going … Read more