Fix 404 error for custom posts (gallery and video custom post)
If you are getting a 404 error when you are accessing the posts, you need to reset your permalinks.
Refresh the permalinks by going to Settings->Permalinks and set the ones you prefer and save. This should fix the issue and should flush the permalink structure so that the 404 error will disappear.
0
0