# Site Builder

**URL:** <https://forum.infinityfree.com/t/site-builder/68523>\
**Category:** Hosting Support\
**Created:** [November 18, 2022, 9:30pm UTC](https://forum.infinityfree.com/t/site-builder/68523 "2022-11-18T21:30:46Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [November 19, 2022, 9:11am UTC](https://forum.infinityfree.com/t/site-builder/68523/6 "2022-11-19T09:11:48Z")

</div>

Publishing a site with Site.pro doesn’t remove all the files that was on your website before, but it will overwrite any existing files it needs to to publish your website, most notably the main index.php file.

So what @lovebug said:

> [@lovebug](#):
>
> try downloading wordpress and extract the index.php and then upload that to your /htdocs and hopefully your old site should return

This will fix your website.

This article goes into more details on how to do that (the problem from the article is different but the solution is the same):

> [@How to fix a corrupted WordPress installation](https://forum.infinityfree.com/t/how-to-fix-a-corrupted-wordpress-installation/49359):
>
> WordPress frequently releases updates, which you can install through WordPress’ admin interface. Usually, this works without a hitch. But with some (big) upgrades, the upgrade fails half way and leaves you with a broken website. Fortunately, you can still fix your website without any data loss, and this article tells you how to do that. Download a fresh copy of WordPress First of all, you will need to download a fresh copy of WordPress. You can download this from the official WordPress website…

---

_[View the full topic](https://forum.infinityfree.com/t/site-builder/68523)._
