Log into your WP admin and navigate to Settings → Permalinks.
2. Switch the permalink structure from Plain to Post name.
3. Click “Save Changes.”