This looks like the index.php file for the wp-admin folder. They’re referring to the WordPress main index.php file.
Ah, ok. I will try to find this. Thank You. I am new and learning.
No problem. When you download WordPress, it is the index.php file in the main folder. So if you installed WordPress in the WP folder, it’d be located at WP/index.php
I believe in their directions, though, for giving WordPress it’s own directory, you are supposed to copy that file over to your root directory (not the WP/ folder, your main web folder) and make the change to the file located there.
I found it. However, I want there is no /***/ file to change it to. The site was http://www.hobbyfarmers.org/wp I am trying to change it to http://www.hobbyfarmers.org
What do I change?
In the index.php file located at hobbyfarmers.org/index.php, find this:
require(‘./wp-blog-header.php’);
change it to:
require(‘./wp/wp-blog-header.php’);
Thank you. I changed it and can find the site now. However, I cannot login or get to the dashboard. Is ther a backdoor to it?
I was an idiot. I changed both WordPress address and the site address in the Dashboard settings page. I should have just changed the Site URL option. Is there an easy way to just change the WordPress address back without undoing everything?
Put this in the wp-config.php file:
define(‘WP_HOME’,’http://example.com’);
define(‘WP_SITEURL’,’http://example.com’);
Change the appropriate URLs.
Also, your login will still be in the wp/ folder so you’d go to http://www.hobbyfarmers.org/wp/wp-login.php to log-in
Thank You. I had a brain cloud of the methane variety. I went to the PHPmyadmin and changed the directory in the options database. Then I deleted the index.php and htaccess in my new directory. This allowed me to access the Dashboard so I could start over. Thanks for your help. The site is working now.