flatpressblog / flatpress

FlatPress is a lightweight, easy-to-set-up flat-file blogging engine.
https://flatpress.org
GNU General Public License v2.0
185 stars 57 forks source link

Existing .htaccess file prevents necessary rewrite rules from being included for the PrettyURL plugin #230

Closed Fraenkiman closed 1 year ago

Fraenkiman commented 1 year ago

Hello all,

the existing .htaccess file in the root directory prevents the inclusion of necessary rewrite rules for the PrettyURL plugin.

There are two possibilities here: 1.) either the rewrite rules are already in the .htaccess file after setup. 2.) or the file is removed from the root directory.

The second possibility seems more attractive, because with the PrettyURL plugin a required .htaccess file can already be created (line 629 to 640).

It may make sense to draw the user's attention to configuring the PrettyURL plugin as part of the setup, since a "prevent directory browsing" security aspect is also included (see 56dd76d).

@azett, please add this to the milestone.

With best regards Frank