I hope you are having an awesome day and thanks for contacting us regarding your query.
May I ask you to try and flush your permalinks and then test to see if this has aided you in resolving this request.
How to Flush your Permalink
Navigate to Settings/Permalinks from your WordPress Dashboard and set your permalink structure to Default then save your changes.
Reselect the initial permalink structure you previously had and save your changes once more.
This will update your permalink settings and flush rewrite rules.
Please let me know if there are any more questions that I may answer for you 🙂