Whenever you get a 404 error when you didn’t expect it, there’s a chance that flushing your permalinks will solve the problem.
Luckily this is really easy. Just go to your WordPress backend and go to Settings > Permalinks. All you have to do there is click on the Save Changes button on the bottom of the page.
We also recommend using the Post name structure instead of the Default one.