# Default.php overwritten by some unsupported plugin installation

**URL:** <https://community.hivepress.io/t/default-php-overwritten-by-some-unsupported-plugin-installation/6279>\
**Category:** HivePress\
**Created:** [June 19, 2023, 3:17pm UTC](https://community.hivepress.io/t/default-php-overwritten-by-some-unsupported-plugin-installation/6279 "2023-06-19T15:17:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sayak12001](https://community.hivepress.io/user_avatar/community.hivepress.io/sayak12001/32/5839_2.png) [@sayak12001](https://community.hivepress.io/u/sayak12001)\
**Post date:** [June 19, 2023, 3:17pm UTC](https://community.hivepress.io/t/default-php-overwritten-by-some-unsupported-plugin-installation/6279/1 "2023-06-19T15:17:45Z")

</div>

I don’t have backup.

I installed some unsupported plugin yesterday and I saw a white page. After successfully removing the plugin , I was able to get my site back which run listing hive. But the Blog main page, default.php (public\_html\>blog\>default.php) got overwritten in the process and shows some information on hostinger, my hosting location.

How can I get back the code for default.php in blog folder ? My blogs and other data are intact.

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [June 20, 2023, 3:41pm UTC](https://community.hivepress.io/t/default-php-overwritten-by-some-unsupported-plugin-installation/6279/5 "2023-06-20T15:41:11Z")

</div>

Hi,

Our theme does not use a file like `default.php`, so this is not an HP-specific issue. We recommend contacting your host because the WP site uses i`ndex.php`.

---

<div class="post-metadata">

**Author:** ![sayak12001](https://community.hivepress.io/user_avatar/community.hivepress.io/sayak12001/32/5839_2.png) [@sayak12001](https://community.hivepress.io/u/sayak12001)\
**Post date:** [June 21, 2023, 6:28pm UTC](https://community.hivepress.io/t/default-php-overwritten-by-some-unsupported-plugin-installation/6279/6 "2023-06-21T18:28:22Z")

</div>

Many thanks Andrii for the quick turn up. Your answer was a great clue to find a solution for it. Let me explain what happened. I contacted the hosting provider and they pointed me that this issue happens when a subdomain is created. This struck me since some days back I tried creating a subdomain under [blog.xxxxxxx.com](http://blog.xxxxxxx.com) and this created a BLOG folder in there. Now though I deleted the sub domain, the folder still remained there. The issue was listing hive or hive press was reading it from there (which shouldn’t happen - think over it). So when I deleted the BLOG folder, everything started to work fine automatically.  
Hope this helps.

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [July 21, 2023, 6:28pm UTC](https://community.hivepress.io/t/default-php-overwritten-by-some-unsupported-plugin-installation/6279/7 "2023-07-21T18:28:23Z")

</div>

Closed on July 21, 2023, 6:28pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
