Menu

Remove a Theme Assignment or Roll Back a Route

Safely remove an individual or global assignment and confirm the previous theme is serving the route again.

Rolling back a route means removing or changing the saved assignment that currently wins for that request. Prepare the expected fallback before changing the rule.

Roll back an individual post or page

  1. Open the assigned post or page.
  2. Set ThemeRouter to Use Active Theme or the unassigned option.
  3. Update the post.
  4. Purge page, object, and edge caches as required by the hosting stack.
  5. Verify the public URL while logged out.

Roll back a post type or taxonomy

Open Settings > ThemeRouter, remove the matching global assignment, save, purge caches, and test multiple URLs in the affected content area.

ThemeRouter Routing screen showing configured WordPress routes, assigned themes, route status, actions, and active-theme fallback
Use Remove on the winning route, then verify which broader rule or active-theme fallback applies.

Confirm the actual fallback

Because more specific rules override broader rules, removing one assignment may expose another ThemeRouter rule. Use the debug report if the route does not return to the theme you expected.

Keep the destination theme installed until the rollback is fully verified. Removing theme files before clearing assignments can create invalid configuration and harder-to-diagnose failures.

Was this helpful?