cancel
Showing results for 
Search instead for 
Did you mean: 

Setting root magento folder as pub

Setting root magento folder as pub

I have a warning in admin saying that the server isn’t configured correctly and looking into it I need to set the root Magento folder as pub for security reasons but for some reason I cannot get it into my head on how to do it.

Can someone please give me an idiots guide on how to do it?

I have my own server with Centos 7.9 & Plesk with nginx.

Should also mention that I have several domains on the server with two of them running M1 sites.

Thanks

2 REPLIES 2

Re: Setting root magento folder as pub

Ok this has had over 90 views & no replies so is everyone thinking "how thick is this guy"

or are there an awful lot of people in the same boat?

Re: Setting root magento folder as pub

For those of you who have Plesk go to the domain hosting settings & add /pub to the document root.

I believe cPanel users can do something similar.

 

Warning in admin now gone.