Go to content

Redirect old addresses to new pages

When you move your website to Johku or remove a page from your storefront, the old addresses stay in search engines, bookmarks and links on other sites. A redirect takes a visitor who comes to an old address to the right page and tells search engines where the page is now. With this guide, you add a redirect in the storefront settings and mark a removed page as removed.

When do you need a redirect?

  • You move your earlier website to Johku. When your own domain is pointed to the Johku storefront, the addresses of the old site, such as /yhteystiedot or /index.php?page_id=12, no longer find a page. Redirect the most important old addresses to the matching pages on the storefront.

  • You remove or merge a page. When a product or content page is removed, redirect its address to a replacement page or mark the page as removed.

When you change the direct URL of a product, category or collection, Johku redirects the old address to the new one automatically. You don't need to add a redirect for that. See Changed addresses.

Before you start

  • You need the rights to edit the storefront settings.

  • Redirects work at addresses that point to the Johku storefront. If you are moving an old site, first point the domain to Johku: Point your own domain to your storefront.

  • Put together a list of the old addresses that are used the most. The source can be, for example, the old site's sitemap, analytics or Google Search Console.

1. Add a redirect

  1. In the Johku admin, open Settings → Storefront → Redirects.

  2. Under Type, select Permanent redirect (301).

  3. In the Old address field, enter the address of the old page without a language code, for example /vanha-sivu. You can also paste the full address, such as www.kauppa.fi/vanha-sivu or https://www.kauppa.fi/vanha-sivu. Johku saves only the path /vanha-sivu from it. If the old address has parameters, enter them too, for example /index.php?page_id=12.

  4. In the New address field, enter the page the visitor is redirected to. You can enter the path of a storefront page, for example /kesa, or paste a full address that starts with https://. The easiest way is to open the page on the storefront and copy its address from the browser's address bar. The new address can also be an address on another website.

  5. Select Add. The redirect is shown in the list, and it works right away.

One redirect works in all the languages of the storefront.

When you save, Johku checks two things:

  • The old address is a page in your online store. If the old address still has a working page, Johku tells you that its visitors will no longer see the page. Save only if you want to redirect the page's visitors elsewhere.

  • No page was found at the new address. Check the new address. A typo would take the visitor to the Page not found page.

The Redirects tab of the storefront settings with the Type, Old address and New address fields, the Add button and the list of redirects

Redirect types

  • Permanent redirect (301): the page has moved permanently. Search engines switch to the new address in search results. Use this in most cases.

  • Temporary redirect (302): the visitor is redirected to another page for a while, and search engines keep the old address. Suits, for example, a seasonal product that will be sold again.

  • Removed page (410): the page has been removed and has no replacement. The visitor sees an error page, and search engines remove the address from search results.

  • Page not found (404): the visitor sees the Page not found error page.

The new address is asked for only for redirects (301 and 302).

The Type menu of a redirect with the options Permanent redirect (301), Temporary redirect (302), Removed page (410) and Page not found (404)

2. Mark a removed page as removed

When a page has no replacement page, tell search engines that the page has been removed. The address then drops out of search results faster than with an ordinary error page.

  1. On the Redirects page, under Type, select Removed page (410).

  2. In the Old address field, enter the address of the removed page, for example /tuote/kesaleiri-2025.

  3. Select Add.

3. Check that the redirect works

  1. Open a private window in your browser and type the old address in full in the address bar, for example https://kauppa.fi/vanha-sivu.

  2. The browser should move to the new page, and the address bar shows the new address. For a page marked as removed, you see an error page.

Edit a redirect

  1. Click the redirect in the list on the Redirects page. Its details open in the form above the list.

  2. Change the type, the old address or the new address.

  3. Select Save. Cancel leaves the redirect as it was.

A redirect opened for editing in the form above the list, with the Save and Cancel buttons

Changed addresses

When the direct URL of a product, category or collection changes, the old address still works and redirects visitors to the new address. The redirect applies to the old address in all categories and languages. These old addresses are shown in the Changed addresses list on the Redirects page, with the old address, the current address and the time of the change. You can look for an address with the list's Search field.

Delete from the list an old address that should no longer work, for example a typo. Its visitors then see that the page was not found. If a new product or page gets the old address, the new page is shown at the address instead of the redirect.

The Changed addresses list with the Search field and a row showing the old address, the current address and the date of the change

If something goes wrong

The old address doesn't redirect anywhere. Check in the list that the old address doesn't start with a language code, such as /en_US/vanha-sivu. Fix it by clicking the redirect in the list, enter the address without a language code in the Old address field, for example /vanha-sivu, and select Save. If the old address has parameters, they must also be in the redirect. Also check that the domain points to Johku.

The redirect can't be saved. The storefront's own addresses, such as the checkout, the search and the customer's account pages, can't be redirected. The new address also can't be an address that is itself redirected onward. Redirect the old address directly to the final page.

A redirected page disappeared from the storefront. The old address was a working page on the storefront. Delete the redirect from the list, and the page is shown again.

Good to know

  • The redirect works even if the address also has other parameters, for example the utm tags of an ad campaign. Parameters given in the redirect aren't carried over to the new address.

  • On the same page, in the Search engines section, you can hide the whole online store or individual addresses, products and categories from search engines. See Hide pages from search engines.

  • Also read what else you can do for your visibility in search engines: Optimize your pages for search engines.