day 4 – new install to subdirectory-display blog at root
-
Host: ixwebhosting
I attempted to do the following but it doesn’t work for me:
New WordPress installation
It’s easy. First, simply unpack WordPress into a subdirectory of your site. Then all you have to do is copy the index.php file from the WP directory into the root directory of your site, and make a single change (the original index.php is still in the WP directory – do I need to delete the original?). Look for this line:
/** Loads the WordPress Environment and Template */
require(‘./wp-blog-header.php’);And change it to this, replacing “wordpress” in the path to whatever directory you installed WP into.
/** Loads the WordPress Environment and Template */
require(‘./wordpress/wp-blog-header.php’);And that’s it! Your blog content will now appear at the root of your site, and your admin area is now at https://www.example.org/wordpress/wp-admin/.
When I try to pull up https://www.example.org, I get the default “under construction” page and NOT my blog. Asked host to help me and after 30 minutes they said, “I regret, but we don’t provide such services for our customers, you must to move it by yourself using previous guide link.”
Need help please!
- The topic ‘day 4 – new install to subdirectory-display blog at root’ is closed to new replies.