I just need to know if this is the only way to install wordpress from live to localhost.

I downloaded the files and database from live, then push the files folder to my htdocs folder, and uploaded the db through phpmyadmin and change the config file.

Upto this point I think im on correct side.

After entering `http://localhost/mylocalsite` URL in web browser site loads in correct way, however link seems to be still pointing the old (live site) URLs.

So for this I search my live site URLs in the DB like -- `http://www.mylivesite.com` and replace this with the `http://localhost/mylocalsite` URL.

So my question is if this is the correct way i am implementing it on my locals or some more appealing method i am missing.