In WordPress, Permalinks (short for "permanent links") are the permanent URLs assigned to your site's pages, posts, and other content types.
When you add a new Custom Post Type via a plugin or custom code, it's often necessary to flush or refresh the permalinks so that the new URLs function correctly.
Steps to Refresh Permalinks in WordPress
Step 1:
From your WordPress dashboard, go to:
Settings > Permalinks
Step 2:
Scroll to the bottom and click on the “Save Changes” button — even if you didn’t make any changes.
Step 3:
That's it! This action automatically flushes and refreshes the permalink and rewrite rules.
This quick process ensures that all URLs, especially for new custom content types, work properly on your site.