Every once in a while, we meet a company who has WordPress hosted on a server that can't send out email. This spells out doom when you've lost the password to WordPress and you need to login to retrieve it. WordPress stores the password encrypted, so even having access to the database doesn't help. But if you have access to the server via FTP, you can actually upload a script that will allow you to tọgharịa nhazi njikwa site na ibe. Here's the information from the site:
Ịdọ aka ná ntị
- Chọrọ ka ị mara onye njikwa aha njirimara.
- It updates the administrator password and sends an email to the administrator's email address.
- If you don't receive the email, the password is still changed.
- ị emela need to be logged in to use it. If you could login, you wouldn't need the script.
- Debe nke a na mgbọrọgwụ nke nwụnye WordPress gị. Ezogola nke a na ndekọ WordPress Plugins gị.
- Hichapụ edemede mgbe ịmechara maka ihe nchekwa.
Ntuziaka maka ojiji
- Chekwaa edemede dị n'okpuru dị ka faịlụ akpọrọ emergency.php na mgbọrọgwụ nke nwụnye WordPress gị (otu ndekọ ahụ nwere wp-config.php).
- Na ihe nchọgharị gị, mepee http://example.com/emergency.php.
- Dị ka a gwara gị, tinye aha njirimara onye nchịkwa (na-abụkarị nchịkwa) na paswọọdụ ọhụrụ, wee pịa Nhọrọ Mmelite. A na-egosipụta ozi na-egosipụta paswọọdụ gbanwere. Email na-ezigara ndị nchịkwa blog na ozi paswọọdụ gbanwere.
Hichapụ emergency.php gị na ihe nkesa mgbe ị na-eme. Ahapụkwala na sava gị ka onye ọzọ nwere ike iji ya gbanwee okwuntughe gị.
Here's the code within a text file. Rename Mberede ka emergency.php ma tinye ya na mgbọrọgwụ nke nwụnye WordPress. Dị ka a dọrọ aka ná ntị: Wepu faịlụ mgbe iji!