Redirects are vital for SEO: when URLs change, a well‑placed 301 keeps link equity flowing and visitors happy. Since TYPO3 v9 the core ships with EXT:redirects; in TYPO3 the feature lives directly under Site Management, making setup quick and code‑free. In < 700 words you’ll learn how to create, test and monitor custom redirects without touching .htaccess.
What Are TYPO3 Redirects?
TYPO3 is a powerful and flexible open-source CMS, trusted by many large, multilingual websites. It's great for managing complex websites because it offers strong control, high security, and easy scalability.
One handy feature in TYPO3 is the Redirects module. It helps you manage URL redirects without needing to write any code. Redirects are useful when you change or remove a page and want visitors (and search engines) to land on the correct new page.
For example:
If your old page was at /about-us and you updated it to /about, you can set up a redirect. This way, anyone who visits /about-us will be automatically sent to /about — no broken links, no confusion.
This not only improves the user experience but also keeps your SEO strong by making sure search engines follow the new path instead of hitting dead ends.
1. Verify the Redirects extension
- Go to Admin Tools → Extensions.
- Search for Redirects (EXT:redirects).
- Ensure the switch is Active (green). If not, activate and clear caches.
Tip: EXT:redirects is installed out‑of‑the‑box in fresh projects, so you can usually skip this step.
2. Open the Redirects module
Navigate to Site Management → Redirects. The module lists existing entries filtered by Site Identifier—handy if you run a multi‑site TYPO3 instance.
3. Create a new redirect
- Click + Add New.
- Source Path – enter the old URL path, e.g. /old‑blog/post‑title/.
- Target – paste an absolute or relative URL, e.g. /blog/new‑post‑title/ or https:// external.com /page.
- HTTP Status Code – choose 301 (Moved Permanently) for SEO, or 302 (Temporary) if it’s short‑term.
- Optional: limit to a Host (helpful on multi‑domain sites) or enable Ignore GET/POST parameters to catch campaign URLs.
- Click Save & Close.
TYPO3 writes a record to the sys_redirect table and starts serving it immediately—no server reload required.
4. Fine‑tune advanced options (optional)
- Expiration Date – schedule seasonal redirects.
- Priority – set conflict resolution between overlapping rules.
- Hit Counter – view clicks to measure effectiveness.
- Regex – enable for pattern‑based redirects such as ^/products/(.*) → /store/$1.
Security note: Regex redirects are powerful but CPU‑intensive; benchmark under load.
5. Test your redirect
- Browser dev tools – open Network tab and check the Status 301/302.
- CLI – curl -I https: //example.com/old-blog/post-title/ should return HTTP/2 301.
- Integrity scan – run vendor/bin/typo3 redirects:checkintegrity to detect loops or conflicts.
6. Monitor & maintain
The Redirects module displays Last Hit and Hit Count columns. Review monthly to retire unused entries and keep the database lean.
Bulk import/export
For > 500 rules, use Export CSV / Import CSV buttons in the module toolbar. Maintain redirects in a spreadsheet and re‑import as needed—far safer than editing .htaccess.
Key takeaways
- TYPO3 places redirects management inside Site Management for a unified workflow.
- Zero code; everything lives in the backend and sys_redirect database table.
- Use 301 for permanent moves, 302 for temporary campaigns.
- Test with browser tools or curl, then monitor hits to validate SEO impact.
Next steps: Explore the Route Enhancers section of Site Configuration for pretty URLs, and schedule a regular integrity check via scheduler:run.
Post a Comment