How to flush WordPress rewrite rules or permalinks
If you’re experiencing 404 errors on your WordPress website and you know your navigating to URLs that exist, chances are you need to flush the saved rewrite rules from the WordPress database.
LifterLMS flushes rewrite rules for you when you edit various LifterLMS endpoint URLs, but you may inadvertently make changes to your website that would require rewrite rules to be flushed. When debugging 404 issues our developers and support team will recommend a permalink flush or a rewrite rule flush before trying anything more complicated to resolve the issue.
Follow these steps to flush your rewrite rules:
- Navigate to your WordPress Admin panel and login
- Go to Settings->Permalinks
- Locate the “Save Changes” button at the bottom of the screen and click it.
- That’s it, you don’t actually need to make any changes to the settings here.
Now that you’ve flushed your rewrite rules you can try visiting your problematic URL again and, if rewrite rules were causing the issue, your page should load.