Viewing 3 replies - 1 through 3 (of 3 total)
  • You will need to update two values within your wp_options database table. You can modify these via a tool like phpMyAdmin which many hosting companies provide.

    The two values you need to alter will be labelled as siteurl and home. Make sure these match your website URL.

    Thread Starter cooriesmum

    (@cooriesmum)

    Thank you, scottsweb, for the response.

    Yes, I forgot to replace old localhost url to the new remote dev url in the database, which, the video tutorial I was following, suggests you do through editing exported sql file with a text editor.

    I re-did this database export-import process and now it seems to work!

    Thanks again and cheers!

    Maki

    You should look in the wp_options table.

    Check for option_name fields site_url and home.
    One or both of these will still have localhost in them.

    It may take an hour or two, but is not a bad idea when moving from local to remote, to rebuild your site. And install WordPress from scratch (load and activate plugins, copy across and activate your template), then do an export and import of your posts/data. You will get a nice crisp site, and pick up any hidden issues…

    V

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Login keeps directing back to localhost’ is closed to new replies.