WordPress: Faʻaleleia o Faʻalavelave

Ua gagau le WordPress

Faalavelave Matuʻi HindenburgO le mulimuli nai aso I've been working furiously on getting my good friend Pat Coyle's blog back up. (My vacation continues to get more interesting – today it's snowing slightly… in April! Whatever happened to Global Warming?)

Ou te manaʻo e faʻasoa le mea na tupu ona talanoaina ai lea o puipuiga e pei ona ou faia, faʻapefea foʻi ona faʻasaʻo.

Lenei le mea na tupu:

  1. A DNS sa alu le 'auʻauna i le fritz. A DNS E faʻaliliu e le 'auʻaunaga auala fou i se igoa igoa ma toe faʻasino i le server talafeagai. Faatasi ai ma lenei mea na tupu, na motusia moni lava 2 auala o fesoʻotaʻiga - o le igoa igoa i le 'upega tafaʻilagi ma le' upega tafaʻilagi i le 'upega tafaʻilagi.
  2. I complicated things by quickly moving his blog over to another server, not realizing that there was a DNS issue. This adds another level of complexity. Passwords in WordPress (and most other database applications) are uniquely encrypted by the server that they are on. If you move the site to another server, you've just disabled your ability to decrypt that password. Thankfully, WordPress (another great feature) has a password recovery system where you can reset your password via a link in an email.

Here's the immediate action that I took:

  1. Before this ever occurred, I have to say that I'm with a fantastic web hosting company who does comprehensive backups. I've never had an issue that they weren't able to correct through backups. I've heard nightmares from other folks on their blogs and sites being totally lost. I can't imagine what it's like to go through that. (Lesitala i laʻu RSS fafaga ma oe mafai ona maua se coupon mo le leai se totogi tausaga ma laʻu talimalo).
  2. Sa mafai ona ou ulufale i le Upega Tafaʻilagi e FTP ma toe aumai uma le 'upega tafaʻilagi ma le utuofaʻamatalaga. O le isi vaega o laʻu talimalo talimalo o le mafai ona ou mauaina atoa VDS tala atu o le 'upega tafaʻilagi moni lava ia. MySQL teuina faʻamatalaga i se faila faʻamaumauga (/ var / lib / MySQL /). Na mafai ona ou aumaia le faʻamatalaga i le naʻo le kopiina o le tusi faʻakomepiuta i le lotoifale Talanoa e uiga i se sili lelei faʻamau! Leai se faʻaulufale mai, leai se auina atu i fafo, leai se aofaʻiga tele faila e feagai ma… naʻo FTP.

O lenei ua i ai laʻu 'upega tafaʻilagi ma nofoaga autu o faʻamaumauga i le lotoifale, sa ou manavaina se mapuea o se mapusaga. Maʻimau pe a na ou tu iinei ma onosaʻi, semanu e galue le DNS masalah ma o Pat semanu e vave ona faʻatu i luga. Na ou faʻamaonia o le Domain Name o loʻo faʻasino pea i talafeagai Suafa Servers o laʻu talimalo faʻaaoga Whois.net. Afai e te siaki lau vaega iina, o igoa igoa o loʻo i le pito i lalo o le lipoti.

O lenei mea na mafua ai ona ou talitonu o le 'upega tafaʻilagi ono mafai ona hacked. Na saʻo le igoa o le igoa ae o le itulau na sau, o se itu mataʻutia na foliga mai o le spam. Sa ou faaaogaina le Faʻaopoopoga Faʻauluulu Ola to Firefox to ensure I actually wasn't being redirected – the typical hack that many people see. The site wasn't being redirected. I could have done some additional troubleshooting; however, I entered a support ticket with my host so their experts could begin investigating.

Faʻaleleia lau 'upega tafaʻilagi i se isi teuga tupe poʻo le talimalo:

Ou te leʻi faʻafouina Pat i le lata mai fou o le WordPress 2.1, PHP, ma le MySQL, o lea na ou filifili ai e leai se taimi sili atu nai lo le taimi nei! Na ou tapeina lana teuga tupe tuai ma tatalaina se teuga tupe fou. Na ou toe ulufale i lana imeli igoa igoa ma utaina le faʻamaumauga, WordPress 2.1 and Pat's content:

  • wp-content upload Directory - o i tonu e nonofo uma ai au ata faʻasalalau.
  • wp-content plugins Directory - o au plugini uma (faia le mea mulimuli lenei talu ai oe ono i ai faʻamatalaga lomiga.
  • wp-anotusi autu faʻasino - lau autu.

I hope in a future release of WordPress that these 3 directories are root directories rather than sub-directories. It would make upgrading much easier! By this time, my host had found the DNS issue and properly redirected the site. Whew! Now Pat's page was coming back up with a WordPress Upgrade message. I clicked through to upgrade the database and he was back up… almost.

Remember the encryption issue I spoke about? Yea, Pat couldn't login because of it. His password no longer decrypted the value in the database properly so I had one more correction to make. I physically logged into the database and changed Pat's reply email address in the user table to my email address. I then utilized the “Lost my Password” feature to email myself a link to reset the password. After resetting the password, I logged in and changed Pat's email address back.

And now Pat is back up! Hindsight is 20/20… had I simply waited on my host, the issue would have been corrected. I really complicated the issue. However, Pat's now upgraded and running the best versions of everything. I'm sorry he was down so long, though. It doesn't take long to bounce back from downtime, but it is a nasty inconvenience! Sorry, Pat!

Lesona na aoaoina:

  1. Make sure you're with a host that has great backups.
  2. Faʻasaʻo lau 'upega tafaʻilagi ma laupepa faʻamaumauga ma teu i latou i se nofoaga saogalemu.
  3. If you're with a good host, rely on them to find and correct the issue.
  4. Afai e te manaʻomia, alu i se fou talimalo poʻo teuga tupe ma malamalama pe faʻafefea ona toe faʻaleleia le 'upega tafaʻilagi, database, ma toe maua lau password.

Nisi faʻamatalaga faʻaopopo

Aso nei manaʻoga mo vave initaneti fesoʻotaʻiga ua faʻateleina manifolds. Ioe, i lenei lalolagi feʻaveaʻi o le initaneti, satelite telefoni ua faʻamaonia lona taua. A oʻo mai i le uaealesi initaneti, tagata o loʻo lamatia pea ma fesili uaealesi initaneti faʻafefea sili ona taua mo latou. Ae maise lava mo '' upega tafaʻilagi le taua o uaealesi DSL ua le o toe fesili. Tele lava o nei 'upega tafaʻilagi e sili 'upega tafaʻilagi ata tisaini mo le fuafuaina ona manaʻomia lea o lenei saoasaoa maualuga fesoʻotaʻiga e lafo i luga. I le isi laʻasaga e manaʻomia foi lenei fesoʻotaʻiga vave i le gaioiga a sailiga o masini suʻesuʻe. O se tagata ei ai Faʻamaonia a Microsoft mafai ona faigofie ona foʻia uma faʻafitauli i le fesoʻotaʻiga o nei fesoʻotaʻiga.

O le'a sou manatu?

O lenei 'upega tafaʻilagi e faʻaaogaina le Akismet e faʻaitiitia le spam. Aoao pe faapefea ona faʻasoa lau faʻamatalaga faʻamatalaga.