# Localization form Bug: Redirects Metaobject pages to the Metaobject “folder” (drops the Metaobject page handle)

**URL:** <https://community.shopify.dev/t/localization-form-bug-redirects-metaobject-pages-to-the-metaobject-folder-drops-the-metaobject-page-handle/27837>\
**Category:** Markets\
**Created:** [December 30, 2025, 4:19pm UTC](https://community.shopify.dev/t/localization-form-bug-redirects-metaobject-pages-to-the-metaobject-folder-drops-the-metaobject-page-handle/27837 "2025-12-30T16:19:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![senabre](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/senabre/32/437_2.png) [@senabre](https://community.shopify.dev/u/senabre)\
**Post date:** [December 30, 2025, 4:19pm UTC](https://community.shopify.dev/t/localization-form-bug-redirects-metaobject-pages-to-the-metaobject-folder-drops-the-metaobject-page-handle/27837/1 "2025-12-30T16:19:10Z")

</div>

Hi Shopify team,

We’ve found a Markets/localization issue when using the native country selector on **Metaobject webpages**.

**Context**

- Metaobject webpages are created via: [https://help.shopify.com/en/manual/custom-data/metaobjects/connecting-to-your-online-store/webpages](https://help.shopify.com/en/manual/custom-data/metaobjects/connecting-to-your-online-store/webpages)
- Their URLs follow: `/pages/<folder>/<handle>` (example: `/pages/lookbook/some-entry-handle`)
- The “folder” URL `/pages/<folder>` is not a real page unless created manually.

**Issue**  
Using Shopify’s [country selector localization form](https://shopify.dev/docs/storefronts/themes/markets/multiple-currencies-languages#the-country-selector): on a Metaobject webpage (`/pages/<folder>/<handle>`) redirects to:`/<locale>/pages/<folder>`

Instead of preserving the full path:`/<locale>/pages/<folder>/<handle>` (or the equivalent localized URL).

**Steps to reproduce**

1. Create/publish a Metaobject webpage at `/pages/<folder>/<handle>`
2. Use an official theme with the native country selector (repro’d on Horizon + Dawn)
3. Open the Metaobject page and switch country → handle is dropped.

Expected: keep `/pages/<folder>/<handle>`  
Actual: redirects to `/pages/<folder>`

Thanks!

---

<div class="post-metadata">

**Author:** ![Liam-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/liam-shopify/32/6_2.png) [@Liam-Shopify](https://community.shopify.dev/u/Liam-Shopify)\
**Post date:** [December 31, 2025, 4:21pm UTC](https://community.shopify.dev/t/localization-form-bug-redirects-metaobject-pages-to-the-metaobject-folder-drops-the-metaobject-page-handle/27837/2 "2025-12-31T16:21:13Z")

</div>

Hi @senabre

Thanks for flagging this issue - digging into this now.

---

<div class="post-metadata">

**Author:** ![senabre](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/senabre/32/437_2.png) [@senabre](https://community.shopify.dev/u/senabre)\
**Post date:** [January 2, 2026, 10:12pm UTC](https://community.shopify.dev/t/localization-form-bug-redirects-metaobject-pages-to-the-metaobject-folder-drops-the-metaobject-page-handle/27837/4 "2026-01-02T22:12:39Z")

</div>

Thank you @Liam-Shopify 🙂

---

<div class="post-metadata">

**Author:** ![Liam-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/liam-shopify/32/6_2.png) [@Liam-Shopify](https://community.shopify.dev/u/Liam-Shopify)\
**Post date:** [January 5, 2026, 9:54am UTC](https://community.shopify.dev/t/localization-form-bug-redirects-metaobject-pages-to-the-metaobject-folder-drops-the-metaobject-page-handle/27837/5 "2026-01-05T09:54:25Z")

</div>

Hi again @senabre - it does look like the issue you’re experiencing with the native country selector on Metaobject pages is a known limitation related to how Shopify handles URL localization and redirects. Connecting with the team to see if there’s any current possible workarounds.

---

<div class="post-metadata">

**Author:** ![senabre](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/senabre/32/437_2.png) [@senabre](https://community.shopify.dev/u/senabre)\
**Post date:** [January 7, 2026, 3:24pm UTC](https://community.shopify.dev/t/localization-form-bug-redirects-metaobject-pages-to-the-metaobject-folder-drops-the-metaobject-page-handle/27837/6 "2026-01-07T15:24:03Z")

</div>

Thanks for the update, @Liam-Shopify!

From our side, after testing the usual approaches we know for the localization form, it doesn’t seem like there’s a viable workaround at the moment. Even the `return_to` input is correct or if you manually adjust it with JS, the redirect still consistently drops the Metaobject handle and sends users to the “folder” URL (`/pages/<folder>`).

This becomes quite problematic in practice, as that folder URL typically doesn’t correspond to a real page unless the merchant explicitly creates one. In most cases it behaves very similarly to a 404 from a user experience perspective.

Hopefully the team can provide some guidance here 🙂

Thanks again for looking into it!

---

<div class="post-metadata">

**Author:** ![Liam-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/liam-shopify/32/6_2.png) [@Liam-Shopify](https://community.shopify.dev/u/Liam-Shopify)\
**Post date:** [January 8, 2026, 9:57am UTC](https://community.shopify.dev/t/localization-form-bug-redirects-metaobject-pages-to-the-metaobject-folder-drops-the-metaobject-page-handle/27837/7 "2026-01-08T09:57:38Z")

</div>

Thanks @senabre

This limitation is now on the teams radar to address - however there’s no ETA I can share on when this will be supported. Thanks for the additional info on your experiences too - that is helpful context that I’ve added to the case.
