I have my wordpress site in a root folder like this "www.mysite/myblog/"

so to get to the blog you have to go to "www.mysite/myblog/"

I'm wanting to make it so that a user can go to "www.mysite" and it hits the blog. What do I need to do. All my images and everything have the ".../myblog/" path. I don't want to have to go through and correct all this because I'm sure that I'll mess something up.

so basically wanting some help on how to do this.

any advice would be great!


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 */

Replace it with the following code and save the file.

/** Loads the WordPress Environment and Template */

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..

|improve this answer|||||

I case of an Apache HTTP server you can try this:

RewriteRule ^/$ /myblog/ [QSA,L]

This will take care of the home page.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.