• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Remove Virtual Host Template files?

Laurence@

Regular Pleskian
How can I remove the default files and directories from Plesk when a new domain is created? The css, img, test directories and the index.html and favicon.ico? I want httpdocs to be blank when a domain is created as WP is auto-installed.
 
The default files are copied from the directory: /var/www/vhosts/.skel/0/httpdocs
You can try to remove the contents from this httpdocs folder and then create a new subscription, then the httpdocs folder of your new subscription should be empty

See also: Website Directory Structure
 
I'm 99% sure that it won't be repopulated, as this directory is only populated during the installation of Plesk when it discovers that it's a new installation. But maybe a Plesk staff member can tell you more....
 
Back
Top