๐Ÿ” Redirection Rules

WC Studio allows you to redirect traffic from one URL to another โ€” useful for SEO, fixing broken links, migrating content, or handling structural changes in your store.

๐Ÿ“ Go to: WC Studio โ†’ Stores โ†’ Select a Store โ†’ Advanced โ†’ Redirect Rules


โž• Create a Redirection Rule

Use the Redirection Rule Creator to add a new redirect.

๐Ÿงพ Fields to Fill

FieldDescription
Source URLThe old or incoming URL you want to redirect from.
Example: example.com/old-path
Destination URLThe new target URL visitors should be redirected to.
Example: https://example.com/new-path
Redirect TypeChoose the type of redirect:
๐Ÿ” 301 Permanent Redirect (recommended)
OptionsOptional flags:
- Preserve query parameters
- Wildcard matching

โœ… Steps to Create a Rule

  1. Enter the Source URL (without domain prefix if internal).
  2. Enter the full Destination URL (starting with https://).
  3. Choose the Redirect Type (typically 301 Permanent Redirect).
  4. (Optional) Enable:
    • Preserve Query Parameters โ€“ Pass query strings through the redirect
    • Wildcard Matching โ€“ Match all paths that follow the source URL pattern
  5. Click Create Rule to activate it.

๐Ÿ“‹ Redirection Rule Table

After creating, all redirects will appear in a table view with:
ColumnDescription
SlSerial number of the rule
Source URLThe URL being redirected from
Destination URLThe new destination visitors are sent to
TypeRedirect type (301, 302, etc.)
OptionsIndicates if query parameters or wildcards are enabled
ActionEdit, Delete, or Temporarily Disable a rule

๐Ÿง  Use Cases

  • ๐Ÿ” Redirect discontinued product pages to alternatives
  • ๐Ÿ”— Preserve SEO from old URLs during site migrations
  • ๐Ÿงผ Clean up broken links or outdated blog posts

๐Ÿ’ก Best Practices

  • โœ… Use 301 Redirects for permanent changes to maintain SEO value.
  • โœ… Always test redirects after creation to ensure accuracy.
  • โœ… Avoid redirect loops (e.g., /a โ†’ /b โ†’ /a).