> For the complete documentation index, see [llms.txt](https://redirectmanager.docs.foxnetsoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://redirectmanager.docs.foxnetsoft.com/creating-a-redirect.md).

# Creating a Redirect

{% hint style="warning" %}
After you create redirect you have to clear cache of nopCommerce. Go to admin pannel, click on gear icon on top-right of the page. Click on Clear Cache.
{% endhint %}

To create a new redirect rule go to URL Rewrites page of the plugin.

<figure><img src="/files/oX0eIAUfjXjj03idcxgc" alt=""><figcaption><p>URL Rewrites Page</p></figcaption></figure>

{% hint style="danger" %}
If you set up Request Url to `/*`. **Your store will break.** The only solution would be to delete the record from database directl&#x79;**.**
{% endhint %}

{% hint style="warning" %}
Make sure that your redirects do not create infinite loop. (e.g. /page1 -> /page2, and /page2 -> /page1)
{% endhint %}

<table><thead><tr><th width="169.5">Parameter</th><th>Explanation</th></tr></thead><tbody><tr><td>Store</td><td>Select the store for this redirect, or select All.</td></tr><tr><td>Retirect Type</td><td>Select HTTP Status Code of this redirect. See <a href="/pages/8s29eYy3U9ahf51Gs1Ad">HTTP Status Codes</a> page for more details</td></tr><tr><td>Request Url</td><td>URL to redirect <strong>from</strong>.<br>You can input just a path of the url, or full url.<br><br>For example, if you want to redirect from<br><code>https://yourstore.com/iphone/iphoneX</code><br>You can input<br><code>iphone/iphoneX</code><br><code>/iphone/iphoneX</code><br><code>https://yourstore.com/iphone/iphoneX</code><br><br>You can also use <code>*</code> operator to match any pattern.<br>For example, <code>/iphone/*</code> will redirect every url that starts with <code>/iphone/</code>. Note, page <code>/iphone</code> will not be redirected. <br>You can use <code>*</code> in your pattern only once, and it must be at the end of the url.</td></tr><tr><td>Target Url</td><td><strong>Input only if Redirect Type is set to 301, 302, 303, or 307.</strong><br><br>URL to redirect <strong>to</strong>.<br>You can input just a path of the url, or full url.<br><br>For example, if you want to redirect from<br><code>https://yourstore.com/iphone/iphoneX</code><br>You can input<br><code>iphone/iphoneX</code><br><code>/iphone/iphoneX</code><br><code>https://yourstore.com/iphone/iphoneX</code><br><br>You can also use placeholders, see <a href="/pages/jBy93YV1t6jCZh4gslwx">Dynamic Redirects page</a> for more info.</td></tr><tr><td>Preserve Query String</td><td>URLs sometimes have query parameters in them. These parameters are located after <code>?</code> symbol in url.<br><br>For example user goes to url:<br><code>https://yourstore.com/iphone?id=5</code><br><br>If this setting is enabled, you will be redirected to<br><code>https://yourstore.com/newurl?id=5</code><br>If it is not enabled, you will be redirected to<br><code>https://yourstore.com/newurl</code></td></tr><tr><td>Comment</td><td>Comment for admins</td></tr></tbody></table>
