Moderator
t-p
(@t-p)
-Try resetting your custom permalinks back to the default setting and renaming your WordPress .htaccess file.
– If that works, then try reading Using_Permalinks before setting a custom permalink structure again.
I tried both solutions but the error wasn’t fixed.
Moderator
t-p
(@t-p)
Did you reset your custom permalinks back to the default setting and renaming your WordPress .htaccess file?
If so, did the default seting work?
Yes.
Yes, the default (“?p=123”) is working.
Moderator
t-p
(@t-p)
Yes, the default (“?p=123”) is working.
Okay π
If that works, then try reading Using_Permalinks before setting a custom permalink structure again. If clearing your Permalinks does not alleviate the issue, this could be attributed to anything from a web server configuration to a bad WordPress install.
OK I found the problem. I was about to tell you that I have a test blog that works fine, but I noticed it’s URL: /index.php/2016/02/26/hello-world/
I included “index.php” in the permalink of my main blog and it works.
So now I have to get rid of index.php.
Moderator
t-p
(@t-p)
Glad you got it sorted π
Do you have any idea how to remove index.php from the permalinks? When I remove it, it returns error 404.
I re-installed the test blog it it’s still there – http://eeriee.tk/index.php/2016/02/28/hello-world/
Moderator
t-p
(@t-p)
Try editing and re-saving your permalink structure at Admin panel>>>Settings>>>Permalinks
I tried it but the posts/pages won’t open without “index.php” (error 404).
Moderator
t-p
(@t-p)
I have the same issue and have been able to narrow the issue to the .htaccess file. Firstly it didn’t exist so I created it. Then I added the recommended config as per https://codex.wordpress.org/Using_Permalinks.
When I change the permalink in my Permalink settings the .htaccess is modified to just # BEGIN WordPress # END WordPress and I get the website error. Any ideas why this is happening?
Moderator
t-p
(@t-p)
@silohouette,
If the troubleshooting already posted made no difference for you, then, as per the Forum Welcome, please post your own topic.
Thank you Tara for your help! π
Have a nice day.