WordPress 6.1 by default has Day and Name as Permalink Stricture. Follow these steps to change the Permalink Structure:
- Go to WordPress dashboard.
- Click on Settings → Permalinks.
- Select Post Name and Click Save Changes.
This will resolve the {“code”:”rest_no_route”,”message”:”No route was found matching the URL and request method.”,”data”:{“status”:404}} issue.