Is there any way to create a page or a redirect outside the pages folder

Hello,

Whenever we create a page (say my-page.html) in Shopify it is stored on “https://www.yoursite.com/pages” location.

I currently have a client requirement, where I need to place the page in the main directory itself like “https://www.yoursite.com/my-page

Is there any way (a solution or a quick fix) we can achieve that, create a page outside of the “pages” folder, right into the main directory “https://www.yoursite.com/”.

1 Like

Hi @azanmomin ,

This is impossible. Shopify has managed this, it will show uniformly for all Shopify sites and you cannot edit or change it.

You can contact Shopify for a more detailed explanation, refer: https://help.shopify.com/en/questions#/contact

Hope it helps!

Hi @LitExtension

Found a quick fix.

Since the page cannot be created outside the “/pages” folder, we created a redirect instead.

Below is the video for your reference:
https://www.youtube.com/watch?v=IVeQFRDaJ4c

2 Likes

THANK YOU! This is what I was looking for.

1 Like