# If we create page from platform then how to open that page in localhost

**URL:** <https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363>\
**Category:** dev\
**Created:** [July 28, 2021, 7:06am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363 "2021-07-28T07:06:37Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![NomanaReveation](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/nomanareveation/32/595_2.png) [@NomanaReveation](https://www.virtocommerce.org/u/NomanaReveation)\
**Post date:** [July 28, 2021, 7:06am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/1 "2021-07-28T07:06:37Z")

</div>

I created the page from pages section and did not add any property in metadata but if i try to access in localhost it will redirecting me to homepage but i can see that page in dev environment

---

<div class="post-metadata">

**Author:** ![OlegoO](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/olegoo/32/27_2.png) [@OlegoO](https://www.virtocommerce.org/u/OlegoO)\
**Post date:** [July 28, 2021, 1:25pm UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/2 "2021-07-28T13:25:00Z")

</div>

Hi

Could you describe step by step how did you create a page? So, our team can try to reproduce it

---

<div class="post-metadata">

**Author:** ![NomanaReveation](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/nomanareveation/32/595_2.png) [@NomanaReveation](https://www.virtocommerce.org/u/NomanaReveation)\
**Post date:** [July 29, 2021, 4:50am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/3 "2021-07-29T04:50:46Z")

</div>

From content select the pages and then from option add new page and then in markdown side i add the html code i didn’t add anything in metadata side, and this page is using page.liquid from storefront

 ![issue2](https://canada1.discourse-cdn.com/flex032/uploads/virtocommerce/original/1X/4666fac03b1cd36dff2373b2fa6c5465389de2f3.png)

---

<div class="post-metadata">

**Author:** ![NomanaReveation](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/nomanareveation/32/595_2.png) [@NomanaReveation](https://www.virtocommerce.org/u/NomanaReveation)\
**Post date:** [July 29, 2021, 4:51am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/4 "2021-07-29T04:51:19Z")

</div>

![image](https://canada1.discourse-cdn.com/flex032/uploads/virtocommerce/original/1X/9f355fb6d5c0ffe82e4f685fd0efe9572a61b1ee.png)

---

<div class="post-metadata">

**Author:** ![OlegoO](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/olegoo/32/27_2.png) [@OlegoO](https://www.virtocommerce.org/u/OlegoO)\
**Post date:** [July 30, 2021, 6:14am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/5 "2021-07-30T06:14:58Z")

</div>

Thanks  
looks like a bug with localhost, I forwarded it to support team, will ping when I have result.

---

<div class="post-metadata">

**Author:** ![NomanaReveation](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/nomanareveation/32/595_2.png) [@NomanaReveation](https://www.virtocommerce.org/u/NomanaReveation)\
**Post date:** [December 19, 2022, 12:16pm UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/6 "2022-12-19T12:16:18Z")

</div>

Any update on this ?

---

<div class="post-metadata">

**Author:** ![OlegoO](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/olegoo/32/27_2.png) [@OlegoO](https://www.virtocommerce.org/u/OlegoO)\
**Post date:** [December 20, 2022, 5:35pm UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/7 "2022-12-20T17:35:42Z")

</div>

We could not reproduce the your problem on the our configuration (.

Did you try reset cache?  
Did you configure shared content folder between storefront and backend?

Could you share more details about your platform configuration - version and module? Do you have custom modules.  
Which storefront and theme do you use?

---

<div class="post-metadata">

**Author:** ![Aman](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@Aman](https://www.virtocommerce.org/u/Aman)\
**Post date:** [March 17, 2023, 7:48am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/8 "2023-03-17T07:48:36Z")

</div>

When try to open the pages (ss) in our local, it redirects back to the homepage.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/virtocommerce/original/2X/d/dfaaea8aaa39af7de714a2a4b73e30c4aa37588a.png)  
even though url is changed to “[https://localhost:44332/contact-us](https://localhost:44332/contact-us)”.

page is already created in the cms-content for local theme.  
 ![image](https://canada1.discourse-cdn.com/flex032/uploads/virtocommerce/original/2X/e/e8d2f7004eed199acfa66003463f14295359b12a.png)

Platform version - 3.253.1

---

<div class="post-metadata">

**Author:** ![gipen2023](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/gipen2023/32/1503_2.png) [@gipen2023](https://www.virtocommerce.org/u/gipen2023)\
**Post date:** [August 25, 2023, 8:54am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/9 "2023-08-25T08:54:08Z")

</div>

Do we have any update on this issue?

I could not find any clear guide document of how to use the pages/blogs. Through the Content module, I create pages/blogs and saw the pages, blogs are created in the configured cms-content folder with .md extension, but the front site always returns 404 error page when trying browse the pages/blogs.

---

<div class="post-metadata">

**Author:** ![OlegoO](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/olegoo/32/27_2.png) [@OlegoO](https://www.virtocommerce.org/u/OlegoO)\
**Post date:** [August 28, 2023, 4:09pm UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/10 "2023-08-28T16:09:31Z")

</div>

I will check with Storefront Team and we will answer you in [How to make Pages/Blogs work? - support - Virto Commerce](https://www.virtocommerce.org/t/how-to-make-pages-blogs-work/615)

---

<div class="post-metadata">

**Author:** ![gipen2023](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/gipen2023/32/1503_2.png) [@gipen2023](https://www.virtocommerce.org/u/gipen2023)\
**Post date:** [August 29, 2023, 2:05am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/11 "2023-08-29T02:05:14Z")

</div>

Thank @OlegoO! I appreciate your help.

---

<div class="post-metadata">

**Author:** ![gipen2023](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/gipen2023/32/1503_2.png) [@gipen2023](https://www.virtocommerce.org/u/gipen2023)\
**Post date:** [August 29, 2023, 10:07am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/12 "2023-08-29T10:07:15Z")

</div>

I have tried to debug the Storefront codebase (version 6.25.0) and guess that the issue can be lacking a controller handles the ContentPage objects, neither existing a registered Route for content pages compares to the old Storefront implementation e.g., version 5.8.1.

Making a themeless request to a content page e.g., [storefront\_site]/pages/pagetest using Postman, the response is always the html produced from the \_Layout.cshtml and the index.liquid template proves that no controller handles for the “pages/pagetest” slug.

---

<div class="post-metadata">

**Author:** ![Koshalgarg155](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/koshalgarg155/32/1053_2.png) [@Koshalgarg155](https://www.virtocommerce.org/u/Koshalgarg155)\
**Post date:** [August 29, 2023, 4:44pm UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/13 "2023-08-29T16:44:24Z")

</div>

Hi @OlegoO,  
we have the same issue in the local storefront. When we have settings\_data.json in the platform it still doesn’t take the variable’s value from the platform content. It takes the value from the locally linked theme settings\_data.json file instead of platform settings\_data.json.It happens with pages and other content

---

<div class="post-metadata">

**Author:** ![gipen2023](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/gipen2023/32/1503_2.png) [@gipen2023](https://www.virtocommerce.org/u/gipen2023)\
**Post date:** [August 30, 2023, 3:04am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/14 "2023-08-30T03:04:04Z")

</div>

Hi @Koshalgarg155,

I do not know about the platform settings\_data.json you mentioned. In the Storefront version 5.8.1 I can only see the implementation reads the theme settings\_data.json file.  
Could you please show me clearer about the platform settings\_data.json and where is it placed?

Thank you,

---

<div class="post-metadata">

**Author:** ![OlegoO](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/olegoo/32/27_2.png) [@OlegoO](https://www.virtocommerce.org/u/OlegoO)\
**Post date:** [August 31, 2023, 6:21am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/15 "2023-08-31T06:21:57Z")

</div>

> [@Koshalgarg155](#):
>
> settings\_data.json

To access to settings\_data.json, The platform and storefront should use shared content folder. It can be Azure Blob storage, shared disk, etc.

Shared folder allows manage content by platform (content module) and access to them from storefront.

Like on schema below.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/virtocommerce/original/2X/5/5da5faeb836567ba8a491b90d9ee6d3697cfd6f1.png)

---

<div class="post-metadata">

**Author:** ![OlegoO](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/olegoo/32/27_2.png) [@OlegoO](https://www.virtocommerce.org/u/OlegoO)\
**Post date:** [August 31, 2023, 6:25am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/16 "2023-08-31T06:25:28Z")

</div>

> [@gipen2023](#):
>
> Do we have any update on this issue?
> 
> I could not find any clear guide document of how to use the pages/blogs

While Storefront team is preparing clean response in the separate thread.Let me update status.  
At this moment, latest B2B theme doesn’t support blogs, but it is in the roadmap as well as headless CMS agnostic architecture and integration with different headless CMS: [builder.io](http://builder.io), ghost cms, contentfull, etc.

---

<div class="post-metadata">

**Author:** ![gipen2023](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/gipen2023/32/1503_2.png) [@gipen2023](https://www.virtocommerce.org/u/gipen2023)\
**Post date:** [August 31, 2023, 6:42am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/17 "2023-08-31T06:42:12Z")

</div>

Thank @OlegoO for the information!

I would like to include [Orchard Core](https://orchardcore.net/orchardcms) CMS as an addition candidate to integrate with, Orchard Core has module, headless architecture and also supports liquid template (through fluid package).  
It will be very helpful and valuable if VirtoComerce team share a guidance of integrating with another CMS.

Best regards,

---

<div class="post-metadata">

**Author:** ![volanar](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/volanar/32/564_2.png) [@volanar](https://www.virtocommerce.org/u/volanar)\
**Post date:** [August 31, 2023, 8:14am UTC](https://www.virtocommerce.org/t/if-we-create-page-from-platform-then-how-to-open-that-page-in-localhost/363/18 "2023-08-31T08:14:44Z")

</div>

I agree. Orchard core is .NET application, so you don’t need to look for developers for other languages. And supports multilanguage content and qraphql unlike ghost and [builder.io](https://forum.builder.io/t/localization-in-builder/295/6)

[![](https://canada1.discourse-cdn.com/flex032/uploads/virtocommerce/original/2X/8/8ac6f7ff1b69ede2819b0783b5dfc73a80d1aef7.jpeg "Creating a multi-language Orchard Core site with Content Localization - Dojo Course 3 (18)") ](https://www.youtube.com/watch?v=cwKa1OA48-4)
