Community pages return a 404 after changing the base slug

MA Marco Silva 3 months ago Resolved

I changed the base slug from community to forum and now every community page 404s. The settings saved correctly.

I suspect rewrite rules — what's the right way to regenerate them?

0

This deserves more votes. It is a small change with an outsized impact on day-to-day use.

I respectfully disagree on one detail. In my setup the opposite held true, though I suspect it comes down to community size.

This matches my experience exactly. The hard part is staying consistent once the initial novelty wears off.

Run wp jetonomy flush-rules (or visit Settings > Permalinks and save) after changing the base slug. The 404s are stale rewrite rules — regenerating them fixes it immediately.

This is the answer I wish I had found six months ago. Would have saved me a weekend of trial and error.

One caveat for larger communities: keep an eye on the indexes. At a few thousand rows the difference is night and day.