WordPress automatically redirecting on localhost

Question:-

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

Solution:-

[sociallocker]

We can modify this link after login or directly from database, follow the steps to solve this problem.

  1. Open your database that is configured with your web project
  2. Open table wp_options
  3. Change values of siteurl and home (Provide your domain name like http://abc.com)

wordpress-wp_options-table

[/sociallocker]

Leave a comment

Your email address will not be published.