WordPress does not load page.php, return 404.php

I am developing a theme for WordPress by following some tutorials. The main page works well, loading post of a custom post type, and the page to see the contents of the cpt also following the WordPress nomenclature: single-{name-cpt}.php.

The problem is when I create a normal page. When entering the URL of the page, the error page appears 404.php.

I have refreshed the link structure and verified that the .htaccess is correct.

What could be happening so that it does not load page.php?

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Custom links structure: /blog/%postname%/

Read more here:: WordPress does not load page.php, return 404.php

Leave a Reply

Your email address will not be published. Required fields are marked *