Header Page
Overview
Redirection management allows you to automatically redirect visitors from one URL to another. This is essential for maintaining search engine rankings when changing the site structure.
Redirection types
| HTTP code | Type | Usage |
|---|---|---|
| 301 | Permanent | Page permanently moved. Transfers SEO to the new URL |
| 302 | Temporary | Temporary redirection (maintenance, A/B testing) |
Configuration
For each redirection, fill in:
- Source URL: the old URL to redirect (e.g.:
/old-article) - Target URL: the new destination URL (e.g.:
/blog/new-article) - Type: 301 (permanent) or 302 (temporary)
- Active: enable or disable the redirection without deleting it
Technical operation
Redirections are evaluated in BSPK_WEB_ON_CONNECTION before normal routing. The priority order is:
- Check registered redirections
- Normal routing to the BWEB page
- 404 error page if no match
Common use cases
- URL structure migration (site redesign)
- Fixing broken links detected in Google Search Console
- Redirecting the old domain to the new one
- Seasonal or temporary pages

