Got 404 on a WordPress posts
-
Hello
I’m trying to enable “nice” permalinks on my website, but can not do it. When I change it to “https://nomadique.tours/sample-post/” it doesn’t work, but with this “https://nomadique.tours/index.php/%year%/%monthnum%/%day%/%postname%/” structure it works
So, I changed an ownership for .htaccess file, I restarted apache, and I have this lines of code in .htacess:
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
Honestly, do not know, what to do next to make my permalinks working
- The topic ‘Got 404 on a WordPress posts’ is closed to new replies.