wordpress url correction

Copy the index.php and .htaccess file(Just copy it , do not move it ) from myblog directory to root directory.

Open index.php file in any text editor and find the following code in the file.

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');

Replace it with the following code and save the file.

/** Loads the WordPress Environment and Template */
require('./myblog/wp-blog-header.php');

Go to the General Settings page from settings section in the back end and change Site Address (URL) field to http://wwww.mysite.com as shown below in screenshot.

General Settings

You can get more information on this settings from this page.

You can access backend of site from this URL : http://www.mysite.com/myblog/wp-admin

If you face any problem then let me know..