.htaccess 404 error wordpress

hello wordpress permanent link category, postname select 404 page not found

Use this guide to save rewrite rules: 6 - Rewrite Rules - CyberPanel

Rewrite rules for v1.7 and above

RewriteRule ^index\\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Below 1.7

RewriteRule ^/index\\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Make sure to adjust accordingly if WordPress is in sub-directory.

thank you