Spent 1 hour trying to figure out an issue with our WordPress site.
We just created a new custom post type and tested everything on our staging site.
Everything was working fine.
We decided to push the modified files to our live site and started to add content.
These pages weren’t loading.
We discussed our steps, removed excess plugins, and copied over entire site folders…
These pages still wouldn’t load.
This damn 404 page kept showing up on everything.
1 hour later, I decided to take a walk.
I knew we did everything right…what was the issue?
I sat back down and saw the other team members frantically checking the site PHP files.
They were panicking!
I was panicking.
But I stayed relaxed and tried not to think too hard.
If we did everything right, it must be a simple problem.
A problem we have no control of.
Once I thought about that, a lightbulb popped into my head.
No way could this fix the issue, I thought.
I navigated to the permalink structure page and didn’t change anything. I just hit “save changes”
Your Permalink Structure Has Been Updated
This showed up on my screen and I reloaded the issues pages.
Everything was working fine now.
The most difficult issue had the most simple solution.
Think about that next time you try overthinking.