How to Remove a Site Publisher Website
Last modified: December 10, 2020
Overview
You can use the Site Publisher feature (cPanel » Home » Domains » Site Publisher) to create a temporary website while you create a permanent one with other publishing tools, such as WordPress®. When your new website is ready, you will need to remove the Site Publisher-generated website.
This document describes how to manually remove the Site Publisher-generated files.
Remove the Site Publisher-generated files_
To remove the Site Publisher-generated files from a domain or subdomain on an account, perform the following steps:
- Navigate to cPanel’s Site Publisher interface (cPanel » Home » Domains » Sile Publisher).
- Locate the desired domain or subdomain.
- Click the appropriate Website Directory. The File Manager interface will appear.
- Locate and remove the following files and directories, where
username
represents the account’s username:1 2 3 4 5 6 7 8 9 10
/home/username/site_publisher/ /home/username/public_html/assets/ /home/username/public_html/css/ /home/username/public_html/font-awesome/ /home/username/public_html/img/ /home/username/public_html/js/ /home/username/public_html/COPYRIGHT /home/username/public_html/LICENSE.txt /home/username/public_html/sitemap.xml /home/username/public_html/index.html
Warning:If your new website uses any of the same directory names as the Site Publisher-generated website, do not delete those directories. Instead, manually delete the Site Publisher-generated files from those directories. You can use the file timestamps to determine those files.