How to Fix WordPress Posts Returning 404 Error

How to Fix WordPress Posts Returning 404 Error
404 errors can pop up from time to time due to how complex WordPress is behind the scenes. These errors can make it seem like your site is completely gone …
source
September 25, 2020 @ 4:23 pm
Thank you. I keep a copy of all of our websites in a subdirectory on the same server and the restore from Akeeba didn't correctly change the htaccess file. I copied the site to a local server and that worked fine because the site was in the root of the copy of the domain. It appeared that the htaccess file had only ". /index.php [L]
" when it should have had ". /subfoldername.com/index.php [L]". I assume that it was looking in the root of the server (up to the top instead of in the subfolder) for the subpage addresses? So I did the admin > Settings > Permalinks and Saved the changes and it worked. I studied the changes compared to the old htaccess file. Thank you so very much. You saved me hours of work.
September 25, 2020 @ 4:23 pm
i was just about to create another page I THANK YOU SO MUCH!!!
September 25, 2020 @ 4:23 pm
Wow you are awesome thank you!
September 25, 2020 @ 4:23 pm
You mister saved my life .
September 25, 2020 @ 4:23 pm
My Wp dashboard not open now…😭
September 25, 2020 @ 4:23 pm
Thank you so much Love you
September 25, 2020 @ 4:23 pm
I can't believe it's just as simple as that. I just migrated from one host to another and had this problem. I almost lost my mind when it happened. Thank you very much for this single, but amazing fix.
September 25, 2020 @ 4:23 pm
Saved my life, thanks!!
September 25, 2020 @ 4:23 pm
You saved my day
September 25, 2020 @ 4:23 pm
THANK YOU!!!
September 25, 2020 @ 4:23 pm
Than you very much.
September 25, 2020 @ 4:23 pm
none of these fixed my website, my 404 page looks different it instead uses the Apache 404 error page
September 25, 2020 @ 4:23 pm
Thank you!
September 25, 2020 @ 4:23 pm
THANKSSSSSS
September 25, 2020 @ 4:23 pm
wow, you save my life, thank you for your video
September 25, 2020 @ 4:23 pm
Grt it worked for me…………
September 25, 2020 @ 4:23 pm
so precious tips ! thanks <3
September 25, 2020 @ 4:23 pm
What if you're using Nginx and the first permalinks step didn't work? I don't know how WordPress glitched like this… Ok I just fixed it! Here's what I did:
I had custom structure always selected with https://siteroo.design/blog/%category%/%postname%/
But in Optional I also had Category base with blog, so I I removed blog from the base and my post started working again. Weird because I thought it was working 2 days ago with the same setting. :/
September 25, 2020 @ 4:23 pm
Thank you!! This worked! I did have to go to permalinks and switch to post name instead of day and name and then save changes. It worked perfectly!
September 25, 2020 @ 4:23 pm
Thanks, sometime small changes makes big difference, i was looking to this solution for very long. Video is simply, clear and to the point. Keep the good work going.
September 25, 2020 @ 4:23 pm
The editing of the .htaccess file fix my site after searching for the answer for a long time Thank you!!
September 25, 2020 @ 4:23 pm
Thank you so much, i already started freaking out about my website not working.
September 25, 2020 @ 4:23 pm
thank you!!
September 25, 2020 @ 4:23 pm
what do i do if it doesnt fix it on a multisite 🙁
September 25, 2020 @ 4:23 pm
You lady saved me from a heart attack xD Thank you so much
September 25, 2020 @ 4:23 pm
There is no permalinks anymore
September 25, 2020 @ 4:23 pm
if this doesn't solve, next thing to check is that mod_rewrite is enabled in apache
https://stackoverflow.com/questions/869092/how-to-enable-mod-rewrite-for-apache-2-2
September 25, 2020 @ 4:23 pm
Thanks a ton..after struggle i solved my prob
September 25, 2020 @ 4:23 pm
Wow, THANK YOU! I hadn't a clue why I started getting 404 messages. I'd looked at some videos with long workarounds. Then I found this. Fully functioning again within less than 5 seconds. Amazing.
One page still came up with a 404 error. But a quick page refresh, after your initial step, fixed it.
September 25, 2020 @ 4:23 pm
Simple & Lovely
September 25, 2020 @ 4:23 pm
THANKS A LOT
September 25, 2020 @ 4:23 pm
It solved my problem as well. Thanks! But can anyone explain why this error occurs or why a "no changes" solved the issue? It were obviously no changes necessary (if done with the first method)
September 25, 2020 @ 4:23 pm
Why didn't this work for me? 🙁
September 25, 2020 @ 4:23 pm
Thanks.
September 25, 2020 @ 4:23 pm
This video was a lifesaver. Thanks for fixing my site. You have earned my follow.
September 25, 2020 @ 4:23 pm
Thankx for this video.
September 25, 2020 @ 4:23 pm
wow, amazing solved in a few seconds…
September 25, 2020 @ 4:23 pm
This is amazing fixed my problem in less than 30 second !!
September 25, 2020 @ 4:23 pm
At 1:19 you copy information but you don't say how to access that window you are copying the info from??? Help!
September 25, 2020 @ 4:23 pm
Did not work. The blog works fine if you go to the main page. But clicking any link brings up the 404 error. I did everything the video said to do. HELP?