1

I'm getting example.com/es/es for my Spanish site instead of the expected example.com/es when using the {{ siteUrl }} variable.

The primary site is producing the expected example.com/

Any idea of how I did that incorrectly?

  • 1
    What is the Base URL setting set to for this particular site? – Mats Mikkel Rummelhoff Sep 23 '18 at 20:59
  • 1
    I figured out what was wrong, though I'm confused on why some of it was working fine... Maybe if it broke more fully I would have found it easier, haha. Mats was right, it was the Base URL in the Sites area of the admin control panel. I had entered @web/es thinking that I want it to be the root of the primary site, but that wasn't correct, I needed to just put @web/ because I already told it that it lived at /es through the index.php of that site folder. – jonsuther Sep 24 '18 at 1:55
  • @jonsuther would you mind adding your solution as an official answer in case it ends up helping someone in the future? – Brad Bell Sep 25 '18 at 10:03
0

I figured out what was wrong, though I'm confused on why some of it was working fine... Maybe if it broke more fully I would have found it easier, haha. Mats was right, it was the Base URL in the Sites area of the admin control panel. I had entered @web/es thinking that I want it to be the root of the primary site, but that wasn't correct, I needed to just put @web/ because I already told it that it lived at /es through the index.php of that site folder.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.