Hello community!
I just finished a hobby website under a free host: InfinityFree and my theme is OnePress.
I wanted to make it public, so i changed the links in my Wp-config file to direct to my WPadmin page and the homepage, to my default domain.
After doing this, my domain started to redirect me to my host promotional landing page, saying:
“Everything is setup and ready to start… bla,bla,bla…”
So… I went to my Hcdocs to check the **index.php.**
And found out the origin of the message and i **deleted the file.**
Now when i access my domain, i just get a white screen.
I still have access to my admin area but i lost connection with the rest of the website.
I tried disconnecting all the plugins to test but nothing happens.
Anyone knows how to fix this?
I think it’s very simple and i’m starting to get frustrated…
Cheers
[ad_2]
If you haven’t permanently deleted the index.php file, maybe you can try to restore it from a backup – I think that InfinityFree offers a daily backup service you can try to utilize: [https://forum.infinityfree.com/docs/](https://forum.infinityfree.com/docs/)
If this doesn’t help – try reaching out to InfinityFree’s support team, as they might have access to server-side logs (or additional insights) specific to your hosting environment that could help you all to diagnose the issue.
Sounds like a default file. Download WordPress and WordPress.Org and copy the index.php file from the zip folder.
create an index.php file and pout the following in:
<?php
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( ‘WP_USE_THEMES’, true );
/** Loads the WordPress Environment and Template */
require __DIR__ . ‘/wp-blog-header.php’;