Not Found entry (err. 404) after upgrade

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
Lubomír Ludvík
Posts: 82
Joined: Wed Feb 20, 2019 7:44 pm
Location: Rouchovany
Contact:

Not Found entry (err. 404) after upgrade

Post by Lubomír Ludvík » Fri Jun 26, 2026 6:59 am

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.

User avatar
fraenkiman
FlatPress Coder
Posts: 515
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Not Found entry (err. 404) after upgrade

Post by fraenkiman » Fri Jun 26, 2026 12:53 pm

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

Lubomír Ludvík
Posts: 82
Joined: Wed Feb 20, 2019 7:44 pm
Location: Rouchovany
Contact:

Re: Not Found entry (err. 404) after upgrade

Post by Lubomír Ludvík » Sat Jun 27, 2026 5:21 pm

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>

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests