# Wordpress in Subdirectory - not loading the page

**URL:** <https://community.kinsta.com/t/wordpress-in-subdirectory-not-loading-the-page/657>\
**Category:** Installation\
**Created:** [May 2, 2021, 6:23pm UTC](https://community.kinsta.com/t/wordpress-in-subdirectory-not-loading-the-page/657 "2021-05-02T18:23:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Luwado](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael_luwado/32/478_2.png) [@Michael\_Luwado](https://community.kinsta.com/u/Michael_Luwado)\
**Post date:** [May 2, 2021, 6:23pm UTC](https://community.kinsta.com/t/wordpress-in-subdirectory-not-loading-the-page/657/1 "2021-05-02T18:23:58Z")

</div>

Dear Kinsta community

I am trying to get my woocommerce store in devkinsta - setup and download worked fine and the site was pulled from live.

Unfortunately, I cannot reach the site when trying to open it. I just get the standard Kinsta site for opening a new project. I guess the problem is that my site is located inside a subfolder and not in root directory because when installing a vanilla wordpress installation everything is based in root and accessible via localhost.

 ![woocommerce_installation](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/c3648a86423691b4e8033ff347150ec651cbc695.png)

Is there an option to relocate my store to the root directory or set the access to the subdirectory?

Thanks for any help!

Best  
Michael

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [May 3, 2021, 4:14pm UTC](https://community.kinsta.com/t/wordpress-in-subdirectory-not-loading-the-page/657/2 "2021-05-03T16:14:26Z")

</div>

Welcome to DevKinsta @Michael_Luwado ! I’m happy to help. You’re right that due to it being in a sub-directory, you’ll need to do a few additional tweaks. [Check out this post here on how to edit your nginx settings](https://community.kinsta.com/t/nginx-configuration-for-bedrock/201/2). You’ll need to change the root directory of where nginx should be pointing.

One issue however is that it’ll reset if the Docker container is updated or restarted. Apologies for the trouble there but do welcome [feature requests](https://community.kinsta.com/c/feature-requests/6)!

---

<div class="post-metadata">

**Author:** ![Michael\_Luwado](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael_luwado/32/478_2.png) [@Michael\_Luwado](https://community.kinsta.com/u/Michael_Luwado)\
**Post date:** [May 15, 2021, 1:28pm UTC](https://community.kinsta.com/t/wordpress-in-subdirectory-not-loading-the-page/657/3 "2021-05-15T13:28:42Z")

</div>

Hi Michael!

Thanks for the reply - I followed the instructions and changed the root accordingly.

Do I have to restart or refresh the nginx container afterwards? Unfortunately, the sites still opens the old directory after I changed the root from “…/old/” to “…/old/wordpress/”.

Do I miss something here?

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [May 17, 2021, 4:11pm UTC](https://community.kinsta.com/t/wordpress-in-subdirectory-not-loading-the-page/657/4 "2021-05-17T16:11:20Z")

</div>

@Michael_Luwado Try `systemctl reload nginx` when you’re logged into the container. Let me know if that doesn’t work.

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [July 9, 2021, 4:39pm UTC](https://community.kinsta.com/t/wordpress-in-subdirectory-not-loading-the-page/657/5 "2021-07-09T16:39:37Z")

</div>

We haven’t heard back from you on this topic in a while. However, if you do need further assistance you can simply start a new conversation. Thank you again for using DevKinsta. Let us know if you need further assistance! 👋

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/80f8c4e56fecc02327a0964e6bf63a716483529f.png) [@system](https://community.kinsta.com/u/system)\
**Post date:** [July 12, 2021, 4:39pm UTC](https://community.kinsta.com/t/wordpress-in-subdirectory-not-loading-the-page/657/6 "2021-07-12T16:39:46Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
