Error Code: 404

Hello!
Can you tell me, pleas, what I’m doing wrong?
Installed the standard “hestiacp”, transferring my site files in “hestiacp”.

Changes all folders in the “public_html”:
chowm -R name:name *
chmod -R 755 *

As a result, I have this error (Page Not Found. Oops! We couldn’t find the page that you’re looking for. Please check the address and try again. Error Code: 404), when I open a page, for example “example.com/shop”, but when I write “example.com” or “name-site.com/wp-admin”, then everything works, but only the page “wp-admin” or main page (example.com).

Items shop doesn’t work too (example.com/product/tshirt/) and example.com/favicon.ico same error code:404.

Configure Server: PHP (apache2)
max_execution_time 3000
max_input_time 660
memory_limit 512M
error_reporting E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors Off
post_max_size 512M
upload_max_filesize 512M
and
max_input_vars 3000

PHP CLI Version - php 8.0

photo








[email protected]:/home/Example-Example/web/example-example.com.ua# ls -l
total 24
drwxr-x–x 2 example-example example-example 4096 Jun 10 18:58 cgi-bin
drwxr-x–x 2 example-example example-example 4096 Jun 11 09:50 document_errors
dr-xr-x–x 2 example-example example-example 4096 Jun 11 09:50 logs
drwxr-x–x 2 example-example example-example 4096 Jun 15 19:43 private
drwxr-x–x 7 Example-Example www-data 4096 Jun 16 20:23 public_html
dr-xr-x–x 4 example-example example-example 4096 Jun 16 21:42 stats
[email protected]:/home/Example-Example/web/example-example .com.ua# cd public_html
[email protected]:/home/Example-Example/web/example-example .com.ua/public_html# ls -l
total 10088
drwxr-xr-x 2 example-example example-example 4096 Feb 22 20:11 0
drwxr-xr-x 2 example-example example-example 4096 Sep 30 2021 cgi-bin
-rwxr-xr-x 1 example-example example-example 2763761 Sep 30 2021 export5921.csv
-rwxr-xr-x 1 example-example example-example 17226 Oct 23 2021 feed-yml-test.xml
-rwxr-xr-x 1 example-example example-example 270 Sep 30 2021 import-1c.php
-rwxr-xr-x 1 example-example example-example 405 Sep 30 2021 index.php
-rwxr-xr-x 1 example-example example-example 19915 Feb 19 12:36 license.txt
-rwxr-xr-x 1 example-example example-example 4358585 Oct 4 2021 products.xml
-rwxr-xr-x 1 example-example example-example 7437 Jun 15 21:34 readme.html
-rwxr-xr-x 1 example-example example-example 7165 Sep 30 2021 wp-activate.php
drwxr-xr-x 9 example-example example-example 4096 Feb 19 12:40 wp-admin
-rwxr-xr-x 1 example-example example-example 351 Sep 30 2021 wp-blog-header.php
-rwxr-xr-x 1 example-example example-example 2338 Feb 19 12:36 wp-comments-post.php
-rwxr-xr-x 1 example-example example-example 3001 Feb 19 12:36 wp-config-sample.php
-rwxr-xr-x 1 example-example example-example 3215 Jun 15 20:18 wp-config.php
drwxr-xr-x 10 example-example example-example 4096 Jun 16 22:34 wp-content
-rwxr-xr-x 1 example-example example-example 3939 Sep 30 2021 wp-cron.php
drwxr-xr-x 26 example-example example-example 12288 Feb 19 12:36 wp-includes
-rwxr-xr-x 1 example-example example-example 2496 Sep 30 2021 wp-links-opml.php
-rwxr-xr-x 1 example-example example-example 3900 Jan 13 20:48 wp-load.php
-rwxr-xr-x 1 example-example example-example 47916 Feb 19 12:36 wp-login.php
-rwxr-xr-x 1 example-example example-example 8582 Feb 19 12:36 wp-mail.php
-rwxr-xr-x 1 example-example example-example 23025 Feb 19 12:36 wp-settings.php
-rwxr-xr-x 1 example-example example-example 31959 Feb 19 12:36 wp-signup.php
-rwxr-xr-x 1 example-example example-example 4747 Sep 30 2021 wp-trackback.php
-rwxr-xr-x 1 example-example example-example 3236 Sep 30 2021 xmlrpc.php
[email protected]:/home/Example-Example/web/example-example.com.ua/public_html# cd wp-content
[email protected]:/home/Example-Example/web/example-example .ua/public_html/wp-content# ls -l
total 33580
drwxr-xr-x 2 example-example example-example 4096 Sep 30 2021 ai1wm-backups
drwxr-xr-x 3 example-example example-example 4096 Jan 13 21:19 cache
-rwxr-xr-x 1 example-example example-example 34331287 Jun 16 22:28 debug.log
-rwxr-xr-x 1 example-example example-example 28 Sep 30 2021 index.php
drwxr-xr-x 5 example-example example-example 12288 Feb 19 12:40 languages
drwxr-xr-x 42 example-example example-example 4096 Jun 16 20:23 plugins
drwxr-xr-x 4 example-example example-example 4096 Feb 19 14:11 themes
drwxr-xr-x 2 example-example example-example 4096 Jun 15 21:34 upgrade
drwxr-xr-x 29 example-example example-example 4096 Jun 16 22:34 uploads
drwxr-xr-x 2 example-example example-example 4096 Oct 4 2021 webtoffee_export
-rwxr-xr-x 1 example-example example-example 3878 Oct 5 2021 wp-cache-config.php
[email protected]:/home/Example-Example/web/example-example .com.ua/public_html/wp-content# cd uploads
[email protected]:/home/Example-Example/web/example-example .com.ua/public_html/wp-content/uploads# ls -l
total 4100
drwxr-xr-x 3 example-example example-example 4096 Sep 30 2021 2013
drwxr-xr-x 4 example-example example-example 4096 Sep 30 2021 2017
drwxr-xr-x 7 example-example example-example 4096 Sep 30 2021 2018
drwxr-xr-x 6 example-example example-example 4096 Sep 30 2021 2019
drwxr-xr-x 8 example-example example-example 4096 Sep 30 2021 2020
drwxr-xr-x 13 example-example example-example 4096 Nov 30 2021 2021
drwxr-xr-x 7 example-example example-example 4096 Jun 15 21:33 2022
-rw-r–r-- 1 example-example example-example 4576 Jun 16 22:34 2feed-yml-0.xml
-rwxr-xr-x 1 example-example example-example 3437846 Oct 27 2021 3feed-yml-0.xml
-rw-r–r-- 1 example-example example-example 4588 Jun 16 22:34 3feed-yml-0.yml
-rw-r–r-- 1 example-example example-example 4588 Jun 16 22:34 4feed-yml-0.yml
drwxr-xr-x 2 example-example example-example 4096 Sep 30 2021 Logo
drwxr-xr-x 2 example-example example-example 4096 Jun 16 21:44 facebook_for_woocommerce
-rwxr-xr-x 1 example-example example-example 6826 Oct 23 2021 feed-yml-0.xml
-rw-r–r-- 1 example-example example-example 4589 Jun 16 22:34 feed-yml-0.yml
drwxr-xr-x 2 example-example example-example 4096 Oct 4 2021 import-from-yml
drwxr-xr-x 2 example-example example-example 4096 Sep 30 2021 js_composer
drwxr-xr-x 2 example-example example-example 4096 Oct 16 2021 market-exporter
drwxr-xr-x 3 example-example example-example 4096 Sep 30 2021 matomo
drwxr-xr-x 2 example-example example-example 4096 Feb 22 12:16 porto_placeholders
drwxr-xr-x 2 example-example example-example 4096 Jan 25 08:47 porto_styles
drwxr-xr-x 2 example-example example-example 4096 Sep 30 2021 porto_tmp_dir
drwxr-xr-x 2 example-example example-example 4096 Sep 30 2021 redux
drwxr-xr-x 2 example-example example-example 4096 Jun 16 22:28 wc-logs
drwxr-xr-x 5 example-example example-example 4096 Oct 6 2021 woo-feed
-rwxr-xr-x 1 example-example example-example 92539 Sep 30 2021 woocommerce-placeholder-1024x1024.png
-rwxr-xr-x 1 example-example example-example 106851 Sep 30 2021 woocommerce-placeholder-1140x445.png
-rwxr-xr-x 1 example-example example-example 4209 Sep 30 2021 woocommerce-placeholder-150x150.png
-rwxr-xr-x 1 example-example example-example 11776 Sep 30 2021 woocommerce-placeholder-300x300.png
-rwxr-xr-x 1 example-example example-example 17781 Sep 30 2021 woocommerce-placeholder-400x300.png
-rwxr-xr-x 1 example-example example-example 18352 Sep 30 2021 woocommerce-placeholder-400x400.png
-rwxr-xr-x 1 example-example example-example 21157 Sep 30 2021 woocommerce-placeholder-450x231.png
-rwxr-xr-x 1 example-example example-example 22803 Sep 30 2021 woocommerce-placeholder-463x348.png
-rwxr-xr-x 1 example-example example-example 36138 Sep 30 2021 woocommerce-placeholder-600x600.png
-rwxr-xr-x 1 example-example example-example 39839 Sep 30 2021 woocommerce-placeholder-640x480.png
-rwxr-xr-x 1 example-example example-example 41045 Sep 30 2021 woocommerce-placeholder-640x640.png
-rwxr-xr-x 1 example-example example-example 56337 Sep 30 2021 woocommerce-placeholder-768x768.png
-rwxr-xr-x 1 example-example example-example 1846 Sep 30 2021 woocommerce-placeholder-85x85.png
-rwxr-xr-x 1 example-example example-example 102644 Sep 30 2021 woocommerce-placeholder.png
drwxr-xr-x 2 example-example example-example 4096 Sep 30 2021 woocommerce_uploads
drwxr-xr-x 3 example-example example-example 4096 Sep 30 2021 wp-file-manager-pro
drwxr-xr-x 4 example-example example-example 4096 Sep 30 2021 wpallexport
drwxr-xr-x 7 example-example example-example 4096 Sep 30 2021 wpallimport
drwxr-xr-x 2 example-example example-example 4096 Sep 30 2021 wpcf7_uploads
drwxr-xr-x 6 example-example example-example 4096 Sep 30 2021 wysija
drwxr-xr-x 5 example-example example-example 4096 Jun 16 22:28 xml-for–
drwxr-xr-x 7 example-example example-example 4096 Sep 30 2021 yfym

One guess would be to update permalinks in WordPress How to Refresh / Flush WordPress Permalinks?

2 Likes

Felix, thank you very much! :innocent: