This usually happens due to permalink settings not being saved properly in your WordPress site.
Solution:
-
Go to your WordPress Dashboard
-
Navigate to Settings > Permalinks
-
Without changing anything, simply click the “Save Changes” button
This refreshes the permalink structure and usually resolves the issue.
Still not working? Make sure your article is published and not set to draft or private.