One of my clients is using WordPress on an IIS server and is using a product called “Helicon” to help with rewrite rules. Having toyed with the HTACCESS and Permalink structure, I couldn’t get any page content to show up except for the home page. It appeared as if the rewriting wasn’t working.. that’s until I wrote this.
- In your WordPress admin dashboard, navigate to “Settings -> Permalinks”. Select the “custom structure” radio box and enter in:
/%postname%/
- For the .HTACCESS, copy and paste this in
# Helicon ISAPI_Rewrite configuration file # Version 3.1.0.63 Options +Followsymlinks RewriteEngine On RewriteBase RewriteRule /wp-(.*) /wp-$1 [I,L] RewriteRule /(.*)$ /index.php/$1 [I,L] RewriteRule . /index.php [L]
- That’s it! Enjoy using Helicon ISAPI_Rewrite and WordPress Pretty URL’s.
Note: If this didn’t work for you, leave feedback to I can update the guide to better assist in different scenarios and environments.
how will you ad a ‘/’ trailing slash at the end of pages and categories only on wp using /%postname%.html
Daniel,
The first question would be: why do you have .html at the end of your pages?