cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

The contents are stored in your account's public_html directory:

Code:
/home/$username/public_html/
You can remove the files and replace them with your own custom files if you prefer, either via FTP or File Manager:

How Do I... FAQ - Documentation - cPanel Documentation

Ensure you only delete the files within public_html, rather than the directory itself. The default files and directories associated with a Site Publisher template are:

assets/
images/
configurations.json
index.html
LICENSE.txt
sitemap.xml

Thank you.
 
  • Like
Reactions: Veeral Patel

Caz

Registered
Jun 9, 2016
1
0
1
USA
cPanel Access Level
Root Administrator
Hello,

The contents are stored in your account's public_html directory:

Code:
/home/$username/public_html/
You can remove the files and replace them with your own custom files if you prefer, either via FTP or File Manager:

How Do I... FAQ - Documentation - cPanel Documentation

Ensure you only delete the files within public_html, rather than the directory itself. The default files and directories associated with a Site Publisher template are:

assets/
images/
configurations.json
index.html
LICENSE.txt
sitemap.xml

Thank you.
If I have already installed and configured WordPress, won't that break it if I just delete the files mentioned above? Aren't these standard files?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

You can find a list of the default WordPress files for comparison at:

WordPress Files « WordPress Codex

The following feature in cPanel 58 should address this concern going forward:

Site Publisher backup tarballs
cPanel's Site Publisher interface (Home >> Domains >> Site Publisher) now automatically backs up the previous contents of the target directory when you create or update a Site Publisher website. Users and system administrators can access and restore this file from the site_publisher/backups/ directory within the user's home directory.

For more information about the publication process, read our The /scripts/process_site_templates Script documentation.
You can review the full cPanel 58 release notes at:

58 Release Notes - Documentation - cPanel Documentation

Thank you.
 

Aline

Registered
Oct 29, 2016
1
0
1
Brazil
cPanel Access Level
Website Owner
I have done all this and still my website only shows the Site Publisher page when it should show something else. What could be wrong?
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
What should it be exactly? The index.html as mentioned above, is the default main page of the Site Publisher. Rename the index.html in your public_html/ directory to, dead.index.html, does your website work now? (assuming your new website uses an index.php here)
 

Veeral Patel

Registered
Mar 29, 2017
1
1
3
India
cPanel Access Level
Website Owner
Hello,

The contents are stored in your account's public_html directory:

Code:
/home/$username/public_html/
You can remove the files and replace them with your own custom files if you prefer, either via FTP or File Manager:

How Do I... FAQ - Documentation - cPanel Documentation

Ensure you only delete the files within public_html, rather than the directory itself. The default files and directories associated with a Site Publisher template are:

assets/
images/
configurations.json
index.html
LICENSE.txt
sitemap.xml

Thank you.
Hello,

Thank You very much Michael!

I have done exactly as per your instructions and my site is back to normal.

Thanks Again!
 
  • Like
Reactions: cPanelMichael

VInay Nair

Registered
Jul 18, 2017
1
0
1
India
cPanel Access Level
Website Owner
I have the same problem as quoted above, I accidently used this great tool of adding a simple template 'under construction' from the tool Site Publisher, thinking it would be a good idea, whilst I create my wordpress site behind it. However it is now just over riding my wordpress site and I cannot see the previews etc..
I read the solution too but i hardly understood anything. So I request you to help me out in a detailed manner. I am new to this thing and would be needing frequent help from you guys.
I anticipate a solution soon!
Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hi @VInay Nair,

We now document more information about the files that are replaced under the "Files" section at:

Site Publisher - Documentation - cPanel Documentation

You'd need to remove the files referenced in my earlier post from the website's document root (e.g. /home/user/public_html/) and then move the files that were automatically backed up from the "/home/user/site_publisher/backups/" directory to the "/home/user/public_html/" directory using FTP or cPanel's File Manager option.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @Warren Bartram,

If your goal is to completely remove the Site Publisher data and the website files associated with the Site Publisher feature, then you'd remove the files and directories noted in my initial response in addition to the site_publisher directory itself.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hi Steve,

I encourage you to open a feature request for an option in the UI that automatically removes all files generated through the Site Publisher feature:

Submit A Feature Request

Please feel free to post the link to the feature request to this thread once it's approved.

Thank you.
 

Aminul

Registered
Jan 25, 2020
1
0
0
Dhaka, Bangladesh
cPanel Access Level
Website Owner
Hi. I have deleted all my file under public_html folder even site_publisher folder files, but my site is still same. Actually, for some days, I want to show a message that "Site is under construction" but my fault I have published a template and that was not full relevant. Please help me.