Emergency

In urgent situations or outages, you can send a text message to our emergency line

Emergency line (text message only)

+45 29 70 15 95

Send a text message with the following information:

  • Your name and webshop
  • A description of the problem

Note: This service is only for critical situations where your webshop is down or has serious problems. For regular support, please use our normal support channels.

Create URL redirects in Shoporama

A short guide to creating 301 redirects in Shoporama, so old URLs point to the right pages, including regex patterns for redirecting many URLs at once.

Reading time: about 5 minutes
Store owner

A redirect is an instruction that sends visitors and search engines from one URL to another. Setting up URL redirects is important whenever URLs in your store change, or you will lose traffic and SEO value.

What is a redirect?

A redirect tells the browser (and Google) that the old URL now lives somewhere new. If you change the URL of a product, a category, or a page yourself, Shoporama automatically creates a redirect from the old address. You need to create redirects yourself when addresses disappear in other ways, for example when you migrate from another platform. There are two types:

  • 301 (permanent): the old URL has moved permanently. Google transfers the SEO value to the new URL
  • 302 (temporary): the old URL has moved temporarily. Google keeps the SEO value on the old URL

Shoporama always uses a 301 redirect, which is the right choice in the vast majority of cases.

Create a redirect in Shoporama

Redirects overview in the Shoporama admin with the columns From, To, Regex, Args, and Used, plus buttons for importing, exporting, and creating a new redirect
The Redirects page in the Shoporama admin lists all your redirects with the columns From, To, Regex, Args, and Used. From here you can import, export, and create new redirects.
  1. Go to Webshop → Redirects in the menu
  2. Click Create new
  3. Enter the old URL in From without the domain, for example /old-page
  4. Enter the new URL in To. The field is prefilled with your store's address, so you only need to type the rest after it. You can also delete it and enter a path, for example /new-page
  5. Optionally check Regular Expression (see below) or Include query parameters. Include arguments in URL carries everything after the ? in the old address (for example ?color=red) over to the new one
  6. Click Save

Using regular expressions

Shoporama supports regular expressions (regex) in redirects. This is useful when you need to redirect many URLs that follow a specific pattern, for example when you migrate from another platform. Check Regular Expression when you create the redirect.

Example: Remove /shop/ from all old addresses, so /shop/arduino is forwarded to /arduino:

From: ^/shop/(.*)$
To: /$1

^ means the address starts here, (.*) captures the rest of the address, and $ means the address ends there. Whatever is inside the parentheses in From is inserted into To where it says $1. You can also keep your store's address in To and add $1 after it. If the pattern has more parentheses, you use $2, $3, and so on for the next ones. The leading slash in From is optional, so ^shop/(.*)$ works the same way.

A pattern can only translate an address if the new address appears directly in the old one. If your products have a different name in the address, each of them needs its own redirect.

If an address matches both a regular redirect and a pattern, the regular redirect is used. This means you can create a broad pattern and still send individual addresses somewhere specific.

When should you create redirects?

  • When you delete a product or a page that has incoming links
  • When you migrate your store from another platform
  • When you restructure your store (for example, change your category structure)

Tip

Keep an eye on 404 errors in your dashboard. They show you which URLs are missing redirects.

Also read our complete guide to redirects for advanced techniques. Need help? Contact us at support@shoporama.dk.