Website created - not published
(blocked by “index.php from another website” warning)
Other Information
I am attempting to restore my old website on infinityfree. I followed various guides and it all seemed to work quite decently. In fact, on the dashboard it show all green checks besides “Website Published” in the Website Builder Status category, which is shown red.
When I click on “Launch Website Builder” button, it redirects me to a new page and throws me the error: " An index.php file from another website was found" and only gives me the option to go back or fully overwrite the index.php file.
At this point I have no clue what might be the problem and how I could solve it. Any help is appreciated!
If your uploding your own php or html files, you don’t need to use the website builder. If you’ve launched it (even if it errored) it may have broken something
to fix it, delete everything in your htdocs folder (either via ftp or the file manager) then reupload your origional index.php or index.html.
you may also need to clear your cache to see the new page
Thanks for your fast response! I have done both yesterday (first emptying cache and as that did not change anything I deleted everything in the htdocs folder and uploaded the whole backup again, including the index.php) - It still shows me the same problem.. Any other ideas?
Are you only referring the the “Website Published” showing a red cross?
Because that just means that the website hasn’t been published with the website builder. If you’re building your website in any other way, you’ll always see that check as red.
And considering that the panel warned you about potentially overwriting an existing website, I’m assuming that you are using something else.
If so, then there is no issue. Besides maybe some less than ideal UX in the client area.
I am referring to that and most of all to the fact that I still only see a blank page, when I open my URL. I do not know how to make my website visible.
First of all: that “Website Published” check only applies to the built-in website builder. Since you’re not using that, you can safely ignore it.
As for the blank page: the reason is very clear. The index.php file in your htdocs folder only contains this:
<?php
// Silence is golden.
So your website returns a blank page because that’s all this file does.
Looking at the rest of the file structure, it looks like the contents of a wp-content folder from a WordPress site. If you were trying to restore a WordPress site, it seems only the wp-content folder was uploaded, not the full WordPress installation. WordPress needs its core files (wp-admin, wp-includes, wp-config.php, and the main index.php) to function.
I’d suggest deleting the contents of the htdocs folder and trying the restore again, making sure the full WordPress installation is included, not just the wp-content folder.