Moving a WordPress site from one folder to another (one domain, one server)

Here are the step-by-step instructions to move your WordPress site to a new location on the same server:

  1. Create the new location using one of these two options:
    1. If you will be moving your WordPress core files to a new directory, create the new directory. (in my case , i made a folder named ‘kombat’ in www directory of wamp server)
    2. If you want to move WordPress to your root directory, make sure all index.php, .htaccess, and other files that might be copied over are backed up and/or moved, and that the root directory is ready for the new WordPress files.
  2. Log in to your site.
  3. Go to the Administration > Settings > General panel.
  4. In the box for WordPress Address (URL): change the address to the new location of your main WordPress core files. (e.g. http://localhost/kombat)
  5. In the box for Site Address (URL): change the address to the new location, which should match the WordPress (your public site) address. (e.g. localhost/kombat)
  6. Click Save Changes.
  7. (Do not try to open/view your site now!)
  8. Move your WordPress core files to the new location. This includes the files found within the original directory, and all the sub-directories, to the new location.
  9. Now, try to open your site by going to yourdomain.com/wp-admin. Note, you may need to go to yourdomain.com/wp-login.php (e.g. i visited localhost/kombat )

These steps were enough for me. you can read the full procedure at http://codex.wordpress.org/Moving_WordPress