Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

In Wordpress, is it possible:

  • To "make my current browser" to get "logged-in" to the a WP site, from a script in my localhost?

Means, i will be running a script in my localhost:

  • http://localhost/do_login.php

And after that, in the same browser, when i go to:

  • https://www.my_remote_wpsite.com/wp-admin

I should already be logged in there.
So my local script will make my current browser logged-in into the remote WP site.

How can it be done please?

share|improve this question
add comment

1 Answer 1

Can't be done without a lot of wotk, cookies are sent only to the host doing the login. If your webserver does the login then the browser don't have the cookies.

I guess you can write some script that imports cookies from your seb server to your browser, but that doesn't sound like something easy to do as you will probably need to write an extension to the browser

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.