Dwindi Ramadhana
45fcbf9d29
feat: migrate from HashRouter to BrowserRouter for SEO
Phase 1: WordPress Rewrite Rules
- Add rewrite rule for /store/* to serve SPA page
- Add use_browser_router setting toggle (default: true)
- Flush rewrite rules on settings change
Phase 2: React Router Migration
- Add BrowserRouter with basename from WordPress config
- Pass basePath and useBrowserRouter to frontend
- Conditional router based on setting
Phase 3: Hash Route Migration
- Update EmailManager.php reset password URL
- Update EmailRenderer.php login URL
- Update TemplateOverride.php WC redirects
- All routes now use path format by default
This enables proper SEO indexing as search engines
can now crawl individual product/page URLs.
2026-01-03 20:01:32 +07:00
..
2025-11-11 17:52:03 +07:00
2025-12-31 21:17:59 +07:00
2025-11-04 11:19:00 +07:00
2025-12-30 17:33:35 +07:00
2026-01-03 20:01:32 +07:00
2026-01-01 16:45:24 +07:00
2025-11-04 11:19:00 +07:00
2025-11-26 16:18:43 +07:00
2025-11-11 10:28:47 +07:00
2025-12-26 21:29:27 +07:00
2025-12-26 10:59:48 +07:00