> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scayla.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Edit or delete redirect rules

> Modify or remove existing redirect rules when your URL structures or redirect strategy changes.

## Edit a redirect rule

Update the **Redirect from** or **Redirect to** URL structures of an existing rule.

<Steps>
  <Step title="Open Redirect Pro">
    From your Shopify admin, open the **Redirect Pro** app.
  </Step>

  <Step title="Go to Redirect Rules">
    Click **Redirect rules** in the app navigation menu.
  </Step>

  <Step title="Find and click the rule">
    Locate the redirect rule you want to edit in the table and click either the **Redirect from** or **Redirect to** URL.

    This will open the editing page.
  </Step>

  <Step title="Make your changes">
    Update the rule details:

    * **Redirect from**: The URL pattern that 404s should match
    * **Redirect to**: The destination URL
  </Step>

  <Step title="Save changes">
    Click **Save** in the contextual save bar at the top of the page. The updated rule takes effect immediately.
  </Step>
</Steps>

## Delete a redirect rule

Remove a rule when it's no longer needed.

<Steps>
  <Step title="Open Redirect Pro">
    From your Shopify admin, open the **Redirect Pro** app.
  </Step>

  <Step title="Go to Redirect Rules">
    Click **Redirect rules** in the app navigation menu.
  </Step>

  <Step title="Select the rule">
    Check the box next to the redirect rule you want to remove. You can select more than one to delete in bulk.
  </Step>

  <Step title="Click Delete">
    Click the **Delete** button in the actions menu above the table.
  </Step>

  <Step title="Confirm deletion">
    Click **Delete** in the confirmation modal to permanently remove the rule.
  </Step>
</Steps>

<Warning>
  **Deletion is permanent** - once deleted, the rule stops matching URLs immediately. Visitors will get 404 errors if they access URLs that were being redirected by the rule.
</Warning>

## Tips for managing redirect rules

<Accordion title="Test after editing">
  Always test the updated rule with sample URLs to verify it works as expected. See [Test redirect rules](/redirect-pro/guides/working-with-redirect-rules/test-redirect-rules).
</Accordion>

<Accordion title="Monitor after changes">
  After editing, check your [analytics](/redirect-pro/guides/monitoring-performance/analytics-overview) and the visits count in the table of redirect rules to see how much traffic the rule is capturing.
</Accordion>

<Accordion title="Convert high-traffic URLs to 301s (Enterprise)">
  If specific URL visits in your redirect rule get consistent traffic, use [rule matches](/redirect-pro/guides/working-with-redirect-rules/view-manage-rule-matches) on the Enterprise plan to see and [convert these matches to permanent 301 redirects](/redirect-pro/guides/working-with-redirect-rules/view-manage-rule-matches) for SEO benefits and unlimited visits.
</Accordion>

## What happens after editing

**After editing:**

* Changes take effect immediately
* All URLs that match the new pattern are redirected
* URLs that matched the old pattern but not the new one will get 404 errors
* Visits to the rule continue counting toward your usage quota

**After deleting:**

* The rule stops matching URLs instantly
* Visitors get 404 errors when accessing previously matched URLs
* [Broken link tracking](/redirect-pro/guides/tracking-broken-links/how-broken-link-tracking-works) will detect these 404s
* The rule is permanently removed and cannot be recovered

## Editing template-based rules

If you created a rule from a template, you can still edit it:

1. The template only provides the initial pattern
2. Once created, the rule behaves like any custom rule
3. You can edit both the **Redirect from** and **Redirect to** URLs

## Related guides

* [Create a redirect rule](/redirect-pro/guides/working-with-redirect-rules/create-redirect-rule) - Set up new rules
* [Test redirect rules](/redirect-pro/guides/working-with-redirect-rules/test-redirect-rules) - Verify edited rules work
* [View and manage rule matches](/redirect-pro/guides/working-with-redirect-rules/view-manage-rule-matches) - See which URL visits match your rule (Enterprise)
* [Understanding redirect rules](/redirect-pro/guides/working-with-redirect-rules/redirect-rules-overview) - Learn how rules work

## Need help?

If your edited rule isn't working as expected:

* [Redirect rule not working](/redirect-pro/help/redirect-rule-issues/redirect-rule-not-working) - Troubleshoot issues
* [Contact support](/redirect-pro/help/support/contact-support) - Get personalized help
