๐ 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
Field | Description |
---|---|
Source URL | The old or incoming URL you want to redirect from. Example: example.com/old-path |
Destination URL | The new target URL visitors should be redirected to. Example: https://example.com/new-path |
Redirect Type | Choose the type of redirect: ๐ 301 Permanent Redirect (recommended) |
Options | Optional flags: - Preserve query parameters - Wildcard matching |
โ Steps to Create a Rule
- Enter the Source URL (without domain prefix if internal).
- Enter the full Destination URL (starting with
https://
). - Choose the Redirect Type (typically
301 Permanent Redirect
). - (Optional) Enable:
- Preserve Query Parameters โ Pass query strings through the redirect
- Wildcard Matching โ Match all paths that follow the source URL pattern
- Click Create Rule to activate it.
๐ Redirection Rule Table
After creating, all redirects will appear in a table view with:Column | Description |
---|---|
Sl | Serial number of the rule |
Source URL | The URL being redirected from |
Destination URL | The new destination visitors are sent to |
Type | Redirect type (301, 302, etc.) |
Options | Indicates if query parameters or wildcards are enabled |
Action | Edit, 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
).