Here are the steps to correct the Wordpress URL in the event your Wordpress site loads when typing "youraccountdomain.com/wordpress" but should load when "youraccountdomain.com" is entered.
These should be used if the WordPress files are installed in their own directory. In our example, the Wordpress files were installed in "/wordpress/".
1. Update the Site URL within Wordpress administration. To access your Wordpress administration, type the following into the URL bar of your web browser: youraccountdomain.com/wordpress/wp-admin and sign in.
-
Once signed in, click the "Settings" option in the left hand bar.
-
Update the field labeled Site Address (URL) to youraccountdomain.com and click "Save Changes" at the bottom of the page.
2. Copy (please don't move) the index.php and .htaccess files from the /wordpress/ directory into the root directory of your site, /htdocs.
This can be executed through your FTP program, or via Webby, which can be accessed from within the hosting portion of your account.
Here are the steps from Webby:
-
Open the Webby application from within the hosting services page by clicking the "Launch Webby" button.
- Click the directory that houses the WordPress installation, in this case "Wordpress."
-
Click the checkbox next to the files which need to be copied, index.php and .htaccess. Once highlighted, click the "Copy" button on the top portion of the page.
-
A pop-up will load asking for a location where the files should be copied to. Select "/htdocs" from the drop down menu and click "Copy."
-
Go back a directory to confirm the files copied successfully. To go back a directory, click the folder with the upward green arrow.
- Enter the index.php file located within /htdocs and modify the line that reads:
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
So that it reads:
require( dirname( __FILE__ ) . '/wordpress/wp-blog-header.php' );
-
Once modified, click the "Save" button on the top left hand portion of the page. You should now be able to load youraccountdomain.com without having to move the files.
Comments
0 comments
Please sign in to leave a comment.