Please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, ensure that caching is disabled for logged-in users.
Also, please refresh the permalink structure in Settings/Permalinks (choose any structure with %postname% if the default one is selected) and check if this issue persists.