How to register a global hotkey for your application in C#

How to register a global hotkey for your application in C#

Register a hotkey for your application that can be triggered even if your form is minimized and does not have focus. More »

How to download a file in C# (progressbar and download speed)

How to download a file in C# (progressbar and download speed)

Learn how to download files in C# while displaying the percentage and the download speed. More »

UDP hole punching implementation in C#

UDP hole punching implementation in C#

Learn how to implement UDP hole punching so you can make your clients life a lot easier by not forcing them to open ports on their end. More »

 

Enable WordPress Permalinks On IIS

By default IIS will throw an error (usually a not found error, 404) when WordPress is using permalinks.

The reason of that is because IIS is trying to map the URL you are giving it to a file on the system, which obviously does not exist. Luckily there is a simple fix to this problem.

The logic behind this solution is simple. Check if the URL provided is pointing to a file or directory on the system. If not, rewrite the action to index.php which will allow WordPress to handle it.

In order to enable WordPress permalinks on IIS add the following rewrite rule in your web.config where your WordPress is located.

Share on FacebookTweet about this on TwitterShare on Google+Share on StumbleUponShare on LinkedInShare on RedditPin on PinterestShare on TumblrDigg thisPrint this pageEmail this to someone

Leave a Reply

Your email address will not be published. Required fields are marked *