WordPress on Index Page
Your WordPress is probably installed in a directory (usually called ‘wordpress’ or ‘wp’). Most likely in order to get to your WordPress home page, this is what your URL resembles: www.yoursite.com/directory/index.php
First, create an index.php file in your root directory (probably public_html). Then, paste in the following code:
<?php
define('DIRECTORY_USE_THEMES', true);
require('./wp/wp-blog-header.php');
?>
* Where it says, ‘DIRECTORY’, change it to the name of your WordPress folder.
Log in to your WordPress Dashboard and go to Settings > General. Where it says ‘Blog Address (URL)’ to your website URL (www.yoursite.com). Touch nothing else (or else the sky will crash down on you!)
But seriously, if you change anything like your WordPress address (URL), WordPress won’t function properly and/or be able to locate its files.








