Adding Redirects
Learn how to add and manage redirects in SEOFlow.
Adding a Single Redirect
-
Access the Redirect Manager
- Navigate to the SEOFlow dashboard
- Click on "Redirects" in the sidebar
- Click "Add New Redirect"
-
Enter Redirect Details
- Source URL: The original URL that needs to be redirected
- Destination URL: The new URL where visitors should be sent
- Redirect Type: Choose between 301 (permanent) or 302 (temporary)
- Status: Active or Inactive
-
Advanced Options
- Case Sensitivity: Toggle case-sensitive matching
- Query Parameters: Choose how to handle URL parameters
- Wildcards: Enable wildcard matching if needed
-
Save the Redirect
- Click "Save" to create the redirect
- Verify the redirect is working by testing the source URL
Using Wildcards
Wildcards allow you to create pattern-based redirects:
*
matches any number of characters?
matches a single character
Examples:
/products/* → /collections/*
/blog/* → /articles/*
Regular Expressions
For complex redirect patterns, use regular expressions:
- Enable regex support in settings
- Use standard regex syntax
- Test your pattern before saving
Example:
^/old-category/(.*)$ → /new-category/$1
Best Practices
-
URL Format
- Use relative URLs when possible
- Include leading slashes
- Avoid unnecessary parameters
-
Redirect Types
- Use 301 for permanent moves
- Use 302 for temporary redirects
- Consider SEO implications
-
Testing
- Always test redirects after creation
- Verify both desktop and mobile
- Check for redirect chains
Troubleshooting
Common issues and solutions:
-
Redirect Not Working
- Check URL formatting
- Verify redirect is active
- Clear browser cache
-
Infinite Redirects
- Check for redirect loops
- Verify destination URL
- Review redirect order
-
Performance Issues
- Limit number of redirects
- Use appropriate redirect types
- Optimize redirect patterns