magento multiple store views

magento multiple store views

August 17, 2026 · Illustrated author avatarBy Stefan Bogdanescu
magento multiple store views

Managing Magento Multiple Store Views: Removing Language Prefix

As an experienced Magento developer, I often encounter clients who need to add multiple store views while maintaining certain link structures for SEO purposes. If you’re facing a similar challenge with a Dutch and French site, let’s dive into solving this issue step by step.

Understanding the Current Implementation

Your current setup has two main problems:

  1. The French version’s links are prefixed with fr/, which wasn’t your original intention.
  2. The Dutch version is correctly prefixed with nl/ as per your requirement.

The goal is to remove the fr/ prefix from the French version while keeping the nl/ prefix for the Dutch one.

Step 1: Configuring the Base URLs

First, let’s ensure that the base URLs are set up correctly in the Magento admin panel:

# Go to Stores > Configuration > General > Web > Base URLs (Secure)

For your French store view:

  • Set Base URL to http://www.domain-name.com/
  • Ensure Use Secure URL is unchecked

For your Dutch store view:

  • Set Base URL to http://www.domain-name.com/nl/
  • Ensure Use Secure URL matches the French setting

Hit Save Config.

Step 2: Setting Up the Scope ID

Next, we need to ensure that the correct scope IDs are assigned to each view:

# Go to Stores > Configuration > General > Design > Current Configuration Scope

For your French store view:

  • Switch to the French store view using the top-right dropdown.
  • Set Current Configuration Scope to Default Config

For your Dutch store view:

  • Switch to the Dutch store view using the top-right dropdown.
  • Set Current Configuration Scope to Other
  • Then, set Use Website Defaults and Use Default Value for all fields

Hit Save Config.

Step 3: Clearing Cache

Finally, clear all Magento cache:

# Go to Stores > System Tools > Cache Management > Flush Cache Storage

After following these steps, your French links should now appear without the fr/ prefix while keeping the Dutch version with the nl/ prefix intact.

Conclusion and Additional Resources

Managing multiple store views in Magento requires a keen understanding of how the platform manages URLs. By carefully setting up base URLs and scope IDs, you can achieve the desired link structures for each view.

Remember that SEO is crucial when dealing with multilingual sites. Ensure that your redirects are properly configured to avoid duplicate content issues or 404 errors (check out our guide on SEO-friendly Magento redirects).

If you’re still facing challenges, feel free to consult the official Magento documentation or reach out to our expert development team for assistance.

Happy coding!

Admin Configuration SEO Errors

Our network