New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

add domains to same user account folder structure

Started by martexx, March 02, 2017, 03:52:53 PM

Previous topic - Next topic

martexx

Hi

When adding new domain the default is to use the default public_html folder.

I would suggest to make the folder structure as such:

/home/user/domains/XXX.TLD/public_html/

In that way u have a default and files outside of the webroot still can easily be placed in the right domain folder if belonging to specific domain,
its easy to implement in the function into existing folder creation upon adding domain.