I have download the code and export the database from server and setup the site on my localhost also I have been changed the home and site URL in wp_options table I am able to login at wp-admin but when I am clicking on the home page it redirect me to live site.
If anyone know the issue please help me.
Thanks in Advance.
If there are caching plugins installed like W3 total cache. Then purge cache first. Or may be disable them for time being
Perform Search and Replace in the database for Old Site URL. You can Use this Plugin
Reset Permalinks ( Dashboard >> Settings >> Permalinks )
Last but not the least. Clear your browser Cache and History
- In Chrome, you can try to clear your DNS cache before clearing all your cache