Fancy URLs in IIS
Fancy URLs in IIS (Windows Server) v2.0
This server configuration files will allow the use of fancy URLs in a GetSimple installation running on IIS7.0, e.g. "domain.com/about" rather than "domain.com/index.php?id=about".
- Stopped directives being inherited
- Cut extension down to one file
- Made compatible for GS installations inside GS installations
- Extract web.config into the root of your GetSimple installation
- In GetSimple settings, enable Fancy URLs
Firstly, if you have child pages, the standard permalink structure will not work as it defaults to:
To fix this, log into the admin panel > Settings > Change "Custom Permalink Structure" to:
If, when extracting the extension, you get a notice about overwriting files, you should always cancel. This means that your webserver already has configurations for the directory and you should instead attempt to incorporate the contents of the .config file into the existing .config file. If you do not know how to do this, PM me and I'll try to walk you though it.
If you are installing this extension in a GetSimple installation which is in a subdirectory of another GetSimple extension you must be aware that IIS will throw a hissy fit when two rewrite rules with the same name exist. To fix this, open web.config in the subdir installation and find the text "GetSimple Fancy URLs". Change it to be unique for that webserver, e.g. "GetSimple Fancy URLs2".
IIS being the whiney child it is, you may encounter a pitfall. If so, let me know and I'll see what I can do to help.
These are old versions of this file. Please use with caution as they are probably out of date and no longer supported. ShowHide