Flushing Permalinks

  1. In the dashboard menu go to Settings > Permalinks.
  2. Select any other option and click Save Changes.
  3. That’s what you need to flush the permalinks, you can re-select the last option too.

You can flush the permalinks via php by using the function flush_rewrite_rules().

<?php flush_rewrite_rules(); ?>

Was this article helpful?

Related Articles