Magento 1.7 SEO friendly URLs and multi store views

Magento 1.7 SEO friendly URLs and multi store views

August 4, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Magento 1.7 SEO friendly URLs and multi store views

Managing SEO Friendly URLs Across Multiple Magento Stores

In today’s interconnected e-commerce landscape, running multiple stores from a single Magento installation is increasingly common. However, maintaining unique SEO-friendly URLs for each store view can present significant challenges.

The Global URL Key Issue

Magento’s built-in SEO capabilities allow you to create custom URL keys for products and categories. These keys are stored in the url_key field. Unfortunately, by default, this field is set as ‘global,’ meaning it’s not tied to a specific store view.

For product URL keys, you can change this behavior by updating the is_default field of the attribute from “Store Views” in the Attribute Management section. However, for category URL keys, Magento doesn’t provide an out-of-the-box option for this.

Direct Database Modification

The solution lies in the database itself. The url_key field exists for categories with a different backend model than products. You need to locate the category’s url_key attribute (attribute_id 43) in the catalog_eav_attribute table and set the is_global field from 1 to 0.

Here’s how you can do it:

UPDATE catalog_eav_attribute SET is_global = 0 WHERE attribute_id = 43;

Remember, modifying the database directly should always be done with extreme caution. Make sure to back up your data before making any changes.

URL Rewrite Rules Limitations

Some developers attempt to solve this issue using URL rewrite rules via the admin interface or directly in the core_url_rewrite table. While re-write rules are powerful, they don’t typically cover language switching between store views effectively.

The Magento documentation itself notes that rewrites are intended for internal URLs and not for routing external requests: https://adobe-commerce.redoc.ly/2.4.5-admin/tag/urlrewrite

Best Practices for Multiple Store Views

To maintain SEO-friendly URLs across multiple stores, consider the following best practices:

  1. URL Key Structure: Keep your URL keys consistent and descriptive across all store views.

  2. Crawlability: Ensure that search engines can crawl each store view by setting up sitemaps accordingly.

  3. Schema Markup: Maintain schema markup consistency for products and categories across stores.

  4. Canonicalization: Use the rel="canonical" tag to point back to the main URL if you have duplicate content across stores.

Conclusion

Maintaining SEO-friendly URLs across multiple Magento store views requires a combination of careful database management, attribute configuration, and consistent URL structure. By understanding the limitations of the built-in features and employing best practices, you can optimize your multi-store setup for search engines effectively.

If you’re looking to streamline this process or need further assistance with advanced SEO strategies, feel free to reach out to us at Laravel Company. Our team of experienced Magento developers is always ready to help you navigate the complexities of e-commerce development.

Magento 1 Catalog Database Admin

Our network