Flushing the rewrite rules might sound confusing but it is just a technical term. It’s used to clean the ugly permalink structure.
Here are two example of the rewrite rule:
- Ugly: site.com/?p=1
- Clean: site.com/hello-world
- Ugly: site.com/hello-world/?amp
- Clean site.com/hello-world/amp
How to do it?
Go to Dashboard > Then Navigate to Reading Settings and then click on the ‘Permalinks’ from the menu.
When you are at the permalinks page, simply Hit ‘Save’ and that will flush the permalinks.