If i go to my domain address, it says something like this:
So, here's what you gotta do:
1. In the box for Site address (URL) (under General Settings): change the address to the root directory's URL. Example: http://example.com
2. Copy (NOT MOVE!) the index.php and .htaccess files from the WordPress directory into the root directory of your site. In my case, i was using file manager so i copy the two files to be under 'public_html' which i found inside folder 'wp'.
3. Edit the file index.php; Change the line that says:
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
to the following:
require( dirname( __FILE__ ) . '/wp/wp-blog-header.php' ). Save.
4. You can rename the file index.html or delete it because you no longer need it.
You are now done!
Your wordpress design can be directly access via your main domain address.
No comments:
Post a Comment