Skip to main content

Adding Redirects

Learn how to add and manage redirects in SEOFlow.

Adding a Single Redirect

  1. Access the Redirect Manager

    • Navigate to the SEOFlow dashboard
    • Click on "Redirects" in the sidebar
    • Click "Add New Redirect"
  2. 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
  3. Advanced Options

    • Case Sensitivity: Toggle case-sensitive matching
    • Query Parameters: Choose how to handle URL parameters
    • Wildcards: Enable wildcard matching if needed
  4. 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:

  1. Enable regex support in settings
  2. Use standard regex syntax
  3. Test your pattern before saving

Example:

^/old-category/(.*)$ → /new-category/$1

Best Practices

  1. URL Format

    • Use relative URLs when possible
    • Include leading slashes
    • Avoid unnecessary parameters
  2. Redirect Types

    • Use 301 for permanent moves
    • Use 302 for temporary redirects
    • Consider SEO implications
  3. Testing

    • Always test redirects after creation
    • Verify both desktop and mobile
    • Check for redirect chains

Troubleshooting

Common issues and solutions:

  1. Redirect Not Working

    • Check URL formatting
    • Verify redirect is active
    • Clear browser cache
  2. Infinite Redirects

    • Check for redirect loops
    • Verify destination URL
    • Review redirect order
  3. Performance Issues

    • Limit number of redirects
    • Use appropriate redirect types
    • Optimize redirect patterns