Page 1 of 1
Not Found entry (err. 404) after upgrade
Posted: Fri Jun 26, 2026 6:59 am
by Lubomír Ludvík
I upgrade flatpress 1.4 to 1.5.1
Plugin PrettURLs is set to Pretty.
I repait index:
([POST] entry240129-061420 => Nebraska
[POST] entry240401-170517 => Benátky
[POST] entry241124-000501 => Babice a 50. léta
[POST] entry170114-134033 => Bitcoiny)
After upgrade Not Found entry (err. 404).
Please advise me.
Re: Not Found entry (err. 404) after upgrade
Posted: Fri Jun 26, 2026 12:53 pm
by fraenkiman
Hello Lubomír,
Which domain is affected? So far, I haven't encountered this error after upgrading to 1.5.1. Does the problem also occur in HTTP GET mode?
Please check whether there is an .htaccess file in the FlatPress root directory.
Please clear the theme and template cache in the admin area.
Best regards,
Frank
Re: Not Found entry (err. 404) after upgrade
Posted: Sat Jun 27, 2026 5:21 pm
by Lubomír Ludvík
Thanks for the tip, I fixed it:
1) In Setting > FlatPress Protect > enable editing .htaccess
2) In Plugin > setting PrettyURLs > Save .htaccess
Code: Select all
AddType application/x-httpd-php .php .htm .html
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
# Zde upravte cestu k adresáři (např. RewriteBase / nebo RewriteBase /flatpress/)
RewriteBase /
RewriteRule ^\.htaccess$ - [F]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>