To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more

Remove /Pages from URL my store

grayer
New Member
1 0 4

Hi, 

Is there any way to remove /Pages from URL.Currently, my page URL is ".com/pages/about-us" i want to change to ".com/about-us".I tried URL redirect method Navigation settings and edit the code from theme.liquid to like this,

{% if template contains 'collection' and current_tags %}
<meta name="robots" content="noindex" />
<link rel="canonical" href="{{ shop.url }}{{ collection.url }}" />
{% else %}
<link rel="canonical" href="{{ canonical_url }}" />
{% endif %}

Still it did not work. Please help me.Thank you.

Replies 160 (160)
SmokeEraser
Tourist
4 0 1

Lovely, another issue I look up to find a fix for and the same freakin theme emerges. No fix and it's been years where obviously no one at Shopify is concerned enough to address it. It's like 4 in a row now. I'm beginning to see Shopify is not the problem here. Any dumbass that would continue to pay for such a service is. And don't get me wrong. I will. I'm sure I will. Pathetic.