Redirects like in .htaccess files or vhost config

volkan.akbulut
volkan.akbulut Spryker Solution Partner Posts: 1 🧑🏻‍🚀 - Cadet

We want to turn off our old eCommerce System and switch to spryker by the end of the year. For that we have to create multiple redirects which we dont want to maintain in the Spryker Zed Backend. Is there any possibilty to provide a htaccess file or similiar?

Redirect eg.:
https://example.co/DE/AT/index → https://example.co/de-at/

Answers

  • profuel
    profuel Sprykee Posts: 55 🪐 - Explorer

    Sadly, we do not provide such possibility with htaccess.

    I would recommend importing these redirects via CSV file.

    Such operation is a once in a lifetime, thus it's safe to just import this (formats of htaccess and CSV file are quite easy to adjust one to another).

    Question to help you better: how big is the expected traffic in this case?

    If you have a high load, I'd even think about making custom redirects in public/Yves/index.php, to skip application bootstrap.