@ervin.williamson
Managing redirects in TYPO3 can be handled efficiently using the Redirects module, which is part of the TYPO3 core as of version 9.0. Here’s a step-by-step guide on how to manage redirects in TYPO3:
Accessing the Redirects Module
- Login to TYPO3 Backend: Use your credentials to log into the TYPO3 backend.
- Open the Redirects Module: In the left-hand menu, find and click on the "Redirects" module. This module allows you to create and manage URL redirects easily.
Creating a New Redirect
- Add New Redirect: Click on the '+ icon' or "Add new redirect" button in the Redirects module.
- Configure the Redirect:
Source Path: Enter the relative path that should be redirected (e.g., /old-page).
Target URL: Specify the destination URL where users should be redirected (e.g., /new-page or an external URL).
Redirect Type: Choose the HTTP status code for the redirect. Common options are:
301 (Permanent Redirect): Use this when the resource has been moved permanently.
302 (Temporary Redirect): Use this for temporary moves.
Additional Options: You may have additional checkboxes or fields depending on your TYPO3 setup, like keep GET parameters or defining expiry dates.
- Save: Once all the fields are filled out, click the "Save" button to create the redirect.
Managing Existing Redirects
- Edit: Click on any redirect in the list to edit its properties.
- Delete: Use the delete option (typically a trash icon) to remove a redirect.
- Filter/Sort: Use available filter options or sorting to organize and locate specific redirects, especially in large sites with numerous redirects.
Best Practices
- Plan Redirects Carefully: Ensure that the source paths and target URLs are correct to avoid broken links.
- Use 301 Redirects for SEO: Permanent redirects are preferred for SEO as they transfer link equity from old to new URLs.
- Monitor Performance: Regularly check analytics to ensure redirects are working as intended and not causing bottlenecks.
Advanced Redirects
For more complex redirect needs that go beyond the core functionality, consider:
- TYPO3 Extensions: Use extensions like "realurl" or "seo" for handling sophisticated URL and redirect management.
- Backend Scripting: For highly customized requirements, you might write custom scripts or use TypoScript.
By using the Redirects module in TYPO3, you can manage URL redirections efficiently, ensuring that users are directed to the correct content and improving overall site maintenance.