I develop my web site on wordpress in my PC (localhost / 127.0.0.1). After completion of site I upload my web project on live server.
Problem is that when I login on my wordpress admin it redirect me on localhost
We can modify this link after login or directly from database, follow the steps to solve this problem.
- Open your database that is configured with your web project
- Open table wp_options
- Change values of siteurl and home (Provide your domain name like http://abc.com)