swissdude Posted November 6, 2010 Share Posted November 6, 2010 Hey guys, I made a website using wordpress recently. I have all the files of the template etc on my ftp -- I made a mistake yesterday and deleted the index file so now I have nothing when i type in the url but as said i have all the php template files and all the other files on the ftp, just not the index.php Is there any way to recover this? it's just the index i deleted but have everything else on the ftp - it was done on wordpress Link to comment Share on other sites More sharing options...
0 Cupcakes Posted November 6, 2010 Share Posted November 6, 2010 http://wordpress.org/latest.zip -- If you delete any core files (root, wp-includes, wp-admin) then you can always obtain them again by downloading WordPress. However, the index.php contains just this: <?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('./wp-blog-header.php'); ?> Link to comment Share on other sites More sharing options...
0 swissdude Posted November 6, 2010 Author Share Posted November 6, 2010 You are the best, thanks so much! Link to comment Share on other sites More sharing options...
Question
swissdude
Hey guys,
I made a website using wordpress recently. I have all the files of the template etc on my ftp
--
I made a mistake yesterday and deleted the index file so now I have nothing
when i type in the url
but as said i have all the php template files and all the other files on the ftp, just not the index.php
Is there any way to recover this? it's just the index i deleted but have everything else on the ftp - it was done on wordpress
Link to comment
Share on other sites
2 answers to this question
Recommended Posts