fraenkiman wrote: Sun Apr 26, 2026 2:30 pm... However, in your test, you can simply create an .htaccess file with the PrettyURLs plugin in the FP root, since IIS ignores this file anyway. This then signals to the plugin that the server supports rewrite rules. ...
Thank you for pointing that out, as a result, everything regarding FlatPress and IIS is now changing
PrettyURLs Test Basics in the Admin Interface:
Option 1: Path Info = Beispiel: /index.php/2024/01/01/hello-world/
Option 2: HTTP Get = Beispiel: /?u=/2024/01/01/hello-world/
Option 3: Pretty = Beispiel: /2024/01/01/hello-world/
PrettyURLs Advanced Test on IIS 10.0
IIS Test 1:
FlatPress clean installation without .htaccess and web.config
Only PrettyUrls options 1 and 2 work, option 3 is grayed out
IIS Test 2:
FlatPress without .htaccess, but this time with web.config.
As in IIS Test 1, PrettyUrls options 1 and 2 work, option 3 is grayed out
IIS Test 3:
FlatPress with default .htaccess and web.config
All PrettyURL options 1, 2 and 3 work
IIS Test 4, pointless, but just for fun:
FlatPress with a blank empty .htaccess file and no web.config
PrettyURL options 1, 2, and 3 can be selected in the admin interface, but PrettyURL option 3 generates 404 errors.
IIS Test 5, Final Test:
FlatPress with the default .htaccess file, but without web.config
PrettyURL options 1, 2, and 3 can be selected in the admin interface, but PrettyURL option 3 also generates a 404 error.
Conclusion:
To get FlatPress working properly on a Windows Server with IIS both files, the .htaccess and the web.config files, are required for PrettyUrls option 3 to function.
It seems to me that I'm always learning something new at FlatPress
