# How to remove the /public/ from the site adress?

**URL:** <https://forum.shopware.com/t/how-to-remove-the-public-from-the-site-adress/91519>\
**Category:** Shopware 6 (English)\
**Created:** [17. November 2021 um 10:28 UTC](https://forum.shopware.com/t/how-to-remove-the-public-from-the-site-adress/91519 "2021-11-17T10:28:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MeiZen](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@MeiZen](https://forum.shopware.com/u/MeiZen)\
**Post date:** [17. November 2021 um 10:28 UTC](https://forum.shopware.com/t/how-to-remove-the-public-from-the-site-adress/91519/1 "2021-11-17T10:28:01Z")

</div>

Hi all,  
i am new here. I decided to migrate to shopware from another cart but…an eternal struggle to install.

My current problem is that i need to open my store at his root adress as: www.mystore.ro  
but after the instalation the store open only on www.mystore.ro/public

I need to remove that /public/ is essential because i need to migrate and i have already indexed links for my products.

I readed already and tested all on the forums including httpacces …no chance, maybe there are some solutions on german but the translation in poor. I also made the modifications in Sales Channels  
Also i saw some shopware store with root adress only  
Thank you all  
Dragan

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [18. November 2021 um 08:52 UTC](https://forum.shopware.com/t/how-to-remove-the-public-from-the-site-adress/91519/2 "2021-11-18T08:52:56Z")

</div>

Your domain has to point to the /public folder. That is it.

---

<div class="post-metadata">

**Author:** ![MeiZen](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@MeiZen](https://forum.shopware.com/u/MeiZen)\
**Post date:** [18. November 2021 um 12:56 UTC](https://forum.shopware.com/t/how-to-remove-the-public-from-the-site-adress/91519/3 "2021-11-18T12:56:28Z")

</div>

When you tell that HAS TO …it mean that there is no way to access my site in its simple form [www.mysite.com](http://www.mysite.com) ? And i must accept the mysite. com / public/ ?

I saw same succes sites with shopware and all had [mysite.com](http://mysite.com) and not mysite . com/public/

Thank you for the reply

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [18. November 2021 um 13:05 UTC](https://forum.shopware.com/t/how-to-remove-the-public-from-the-site-adress/91519/4 "2021-11-18T13:05:18Z")

</div>

No, no, no 😂

Your domain points to a folder on your server, e.g., httpdocs/shopware

You have to change that to, e.g., httpdocs/shopware/public

Then the /public part in your domain will disappear.

---

<div class="post-metadata">

**Author:** ![MeiZen](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@MeiZen](https://forum.shopware.com/u/MeiZen)\
**Post date:** [18. November 2021 um 13:17 UTC](https://forum.shopware.com/t/how-to-remove-the-public-from-the-site-adress/91519/5 "2021-11-18T13:17:01Z")

</div>

Thank you, but where to change?  
i tried almost all places including in cpanel and also in shopware. Bun no chance

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [18. November 2021 um 13:37 UTC](https://forum.shopware.com/t/how-to-remove-the-public-from-the-site-adress/91519/6 "2021-11-18T13:37:23Z")

</div>

It has nothing to do with Shopware.

It is your domain/server configuration. If it is not possible to change the directory, you can try to work with a symlink.

---

<div class="post-metadata">

**Author:** ![MeiZen](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@MeiZen](https://forum.shopware.com/u/MeiZen)\
**Post date:** [18. November 2021 um 13:48 UTC](https://forum.shopware.com/t/how-to-remove-the-public-from-the-site-adress/91519/7 "2021-11-18T13:48:07Z")

</div>

Thank you very much  
i will try  
Regards  
🙂
