how can i import an existing site's user table, where password not encrypted?

I have an existing site, which is okay, but due to cms feature I want to convert existing php site to word-press. My problem is that how can i keep alive existing users data like user-id and password in word-press user table ?? the passwords are not in wp format, but I want the existing users also remain there.

please help me in this regard

Solutions

Assuming

  • it's just the password you're having problems with, and
  • you're not using a custom wp_check_password function

you should be able to get away with setting it using the mysql md5() function. It'll get updated to use a PHPass hash the first time the user logs in, but that shouldn't be a problem.

The code in question is in wp_check_password in wp-includes/pluggable.php - it includes the comment:

// If the hash is still md5...

Similar questions

Is the login encrypted before it is sent? If so how to do I encrypt it the same way?
I've moved my WordPress site onto a https server, but now I'm wondering if I still need to manually encrypt the login credentials for my remote login. Is the default login encrypted before it is sent? Everything I've read, code included, is all plain text which is really bad for http sites. In my other projects we used something like an md5 hash to...
Corrupted files when downloaded via encrypted link
Our products are eBooks, delivered in both .epub and .mobi formats via the http://www.tipsandtricks-hq.com/ eStore Plug-in for WordPress which generates encrypted download links. Problem began suddenly about 5 days ago and had previously worked fine for about three months all .epub files get corrupted when customers download their purchase via the ...
Wordpress Htaccess and htpasswd Encrypted passwords of imported users
I have the following problem, I have users in my database with wordpress encrypted passwords. There are pdf files I do not want all of them to access so I am going to use htaccess and htpasswd files. The problem is when I copy their passwords to the htpasswd it does not work, what should I do? Do I just give them new passwords for the pdf files? Ho...
Encrypted/Secure Contact form plugin for WordPress
I'm looking for a plugin for WordPress that will send my form information to an email address. However, I need the information to be securely sent. Just wondering if there is a plugin that can encrypt the information being sent?
How to matched wordpress encrypted passowrd in nodejs?
How do I do user authentication from wordpress database in nodejs? I need to validate user password whose hash is created using wp_hash_password in wordpress link wp_hash Now, I need to validate user password using nodejs. I have tried many nodejs modules but failed.
Where are stripe secret keys stored and are they encrypted ? - wordpress / woocommerce
We are building a WordPress site and have integrated Stripe as a payment gateway with the Stripe Plugin. We have inputted our secret key in the Secret Key field found in Woocommerce > Settings > Payments > Stripe Where is the secret key actually stored (is it stored in source code...db...where?) Someone did suggest it is stored in the data...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.