The lighter side of life – staying in touch with friends and family by celebrating the ordinary.
How I broke my blog and nearly accidentally deleted it
Both my blog and my business website have been acting strange lately. My business site is getting fewer hits, which could be due to the holidays, but also I think I’m dropping in google search’s rankings. Meanwhile, my blog has been weird too. Some of my readers are signed up for email alerts when I post. Lately those alerts have sometimes been sent to my reader’s spam boxes.
I think the issue may have something to do with the fact that both my blog and my business website need some sort of additional security measure. They are showing up with this warning:
So I decided to try and fix the problem. I’ve never taken any website courses and am completely self-taught. Except I’m not so much self-taught as I am “blindly google until I find something to try.”
I googled, and found something that made it look to me like I just needed to change something in my settings. So that’s what I did. I simply put an “s” on the end of “http” in both of these boxes.
Huge mistake!!! Generally when you change your settings and you don’t like the result, you can simply change it back again.
Except not this time. I changed my settings, hit save, and immediately I was locked out of my dashboard. I couldn’t access my website at all! All I wanted to do was change my settings back to how they were, but I couldn’t get in. My website dashboard (and the site itself) showed a 404 error.
Then I realized I probably should have installed a certificate first. In hindsight it seems pretty dumb to think I could just change my url and be done. But that’s what the internet said! (lol)
So how do I install a certificate? I figured a good place to start would be the server that hosts my websites. The server dashboard looks fairly user-friendly with all these cheerful icons.
But the user-friendly facade disappears as soon as you click on one. I decided what I needed would either be under “Certificates” or “Install and Manage SSL for your site (HTTPS).
I found a place where it looked like I could update my certificate.
Note that immediately above “update certificate” there is an option to “uninstall”. I mistakenly clicked that and very nearly deleted my blog. It gave me one of those “are you sure?” type of prompts and I’m like, cancel! Cancel!!!
Having to be my own IT team is one of the most stressful things about running my own business (I’m using this blog as an example, but my business website currently has the same “Not Secure” issue as this blog).
I tried (twice) to update my certificate, but it didn’t actually do anything. Maybe I don’t have a certificate to update? How do I get one? I realized I would have to call my server for help. It was 10:30 at night, a couple of days before Christmas, so I knew I’d be on my own for awhile. And meanwhile, I wanted my blog back up! Could I at least fix the damage I’d done?
I decided to try to see if there was a way to remove the offending “s” from the http. My website would still show up as “Not Secure”, but at least it would show up.
I googled again, and found some instructions. This time it involved posting code into a file. This sounded to me like far more dangerous than simply changing my settings in my dashboard. And look what that got me – a broken site! So messing with the code sounded pretty risky to me.
The first set of instructions says to access my site via ftp, which I don’t know how to do.
However, I do know how to access my files by logging into the server. Maybe that’s the same as ftp. Or maybe not. Who knows.
The next set of instructions said to edit my “wp_config.php” file. Could I even find the file? If so, did I dare edit it?
It said to take those two lines of “define” code, change “example” to the name of my site, and insert it into a specific spot in my “wp_config.php”.
I took all these screenshots so I could explain later to a customer service agent all the dumb stuff I did that took my websites down. As much as I love this blog, I was mostly terrified that I’d accidentally take down my business website. I’m a life coach and I often get a lot of my new business around the new year, as people are looking forward and making resolutions.
Here’s the instructions for where the code needed inserted.
Next step was to find my “wp_config.php” file. I went back to the page with all the icons, and clicked on “file manager.” Yep, there they were, all my files. I have several websites (two in active use and several abandoned), and they are all nested underneath my original website, so it was confusing and hard to tell which files went with which website. But finally I decided I had identified the correct “wp_config.php” file.
See it there, fourth from the bottom? “wp” stands for WordPress, which is the software my sites use, and “config” presumably stands for “configure.” I right-clicked on the file and got this reassuring message (not).
Not at all reassuring! However, I was determined to try. I hit “edit” and saw my code. Yep, there’s the spot where I was supposed to do the insertion. I pasted in the new code and hit save.
And my website came back! Yay!!!
It’s still “Not Secure”. I’ll have to deal with that after Christmas. So I didn’t actually achieve anything. All that work was just to get back to where I started before I accidentally took my website down!
{"id":null,"mode":"text_link","open_style":"in_place","currency_code":"USD","currency_symbol":"$","currency_type":"decimal","blank_flag_url":"https:\/\/turning51.com\/wp-content\/plugins\/tip-jar-wp\/\/assets\/images\/flags\/blank.gif","flag_sprite_url":"https:\/\/turning51.com\/wp-content\/plugins\/tip-jar-wp\/\/assets\/images\/flags\/flags.png","default_amount":500,"top_media_type":"none","featured_image_url":false,"featured_embed":"","header_media":null,"file_download_attachment_data":null,"recurring_options_enabled":true,"recurring_options":{"never":{"selected":true,"after_output":"One time only"},"weekly":{"selected":false,"after_output":"Every week"},"monthly":{"selected":false,"after_output":"Every month"},"yearly":{"selected":false,"after_output":"Every year"}},"strings":{"current_user_email":"","current_user_name":"","link_text":"Leave Kristina a tip","complete_payment_button_error_text":"Check info and try again","payment_verb":"Pay","payment_request_label":"Turning51","form_has_an_error":"Please check and fix the errors above","general_server_error":"Something isn't working right at the moment. Please try again.","form_title":"Turning51","form_subtitle":null,"currency_search_text":"Country or Currency here","other_payment_option":"Other payment option","manage_payments_button_text":"Manage your payments","thank_you_message":"Thank you for being a supporter!","payment_confirmation_title":"Turning51","receipt_title":"Your Receipt","print_receipt":"Print Receipt","email_receipt":"Email Receipt","email_receipt_sending":"Sending receipt...","email_receipt_success":"Email receipt successfully sent","email_receipt_failed":"Email receipt failed to send. Please try again.","receipt_payee":"Paid to","receipt_statement_descriptor":"This will show up on your statement as","receipt_date":"Date","receipt_transaction_id":"Transaction ID","receipt_transaction_amount":"Amount","refund_payer":"Refund from","login":"Log in to manage your payments","manage_payments":"Manage Payments","transactions_title":"Your Transactions","transaction_title":"Transaction Receipt","transaction_period":"Plan Period","arrangements_title":"Your Plans","arrangement_title":"Manage Plan","arrangement_details":"Plan Details","arrangement_id_title":"Plan ID","arrangement_payment_method_title":"Payment Method","arrangement_amount_title":"Plan Amount","arrangement_renewal_title":"Next renewal date","arrangement_action_cancel":"Cancel Plan","arrangement_action_cant_cancel":"Cancelling is currently not available.","arrangement_action_cancel_double":"Are you sure you'd like to cancel?","arrangement_cancelling":"Cancelling Plan...","arrangement_cancelled":"Plan Cancelled","arrangement_failed_to_cancel":"Failed to cancel plan","back_to_plans":"\u2190 Back to Plans","update_payment_method_verb":"Update","sca_auth_description":"Your have a pending renewal payment which requires authorization.","sca_auth_verb":"Authorize renewal payment","sca_authing_verb":"Authorizing payment","sca_authed_verb":"Payment successfully authorized!","sca_auth_failed":"Unable to authorize! Please try again.","login_button_text":"Log in","login_form_has_an_error":"Please check and fix the errors above","uppercase_search":"Search","lowercase_search":"search","uppercase_page":"Page","lowercase_page":"page","uppercase_items":"Items","lowercase_items":"items","uppercase_per":"Per","lowercase_per":"per","uppercase_of":"Of","lowercase_of":"of","back":"Back to plans","zip_code_placeholder":"Zip\/Postal Code","download_file_button_text":"Download File","input_field_instructions":{"tip_amount":{"placeholder_text":"How much would you like to tip?","initial":{"instruction_type":"normal","instruction_message":"How much would you like to tip? Choose any currency."},"empty":{"instruction_type":"error","instruction_message":"How much would you like to tip? Choose any currency."},"invalid_curency":{"instruction_type":"error","instruction_message":"Please choose a valid currency."}},"recurring":{"placeholder_text":"Recurring","initial":{"instruction_type":"normal","instruction_message":"How often would you like to give this?"},"success":{"instruction_type":"success","instruction_message":"How often would you like to give this?"},"empty":{"instruction_type":"error","instruction_message":"How often would you like to give this?"}},"name":{"placeholder_text":"Name on Credit Card","initial":{"instruction_type":"normal","instruction_message":"Enter the name on your card."},"success":{"instruction_type":"success","instruction_message":"Enter the name on your card."},"empty":{"instruction_type":"error","instruction_message":"Please enter the name on your card."}},"privacy_policy":{"terms_title":"Terms and conditions","terms_body":null,"terms_show_text":"View Terms","terms_hide_text":"Hide Terms","initial":{"instruction_type":"normal","instruction_message":"I agree to the terms."},"unchecked":{"instruction_type":"error","instruction_message":"Please agree to the terms."},"checked":{"instruction_type":"success","instruction_message":"I agree to the terms."}},"email":{"placeholder_text":"Your email address","initial":{"instruction_type":"normal","instruction_message":"Enter your email address"},"success":{"instruction_type":"success","instruction_message":"Enter your email address"},"blank":{"instruction_type":"error","instruction_message":"Enter your email address"},"not_an_email_address":{"instruction_type":"error","instruction_message":"Make sure you have entered a valid email address"}},"note_with_tip":{"placeholder_text":"Your note here...","initial":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"empty":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"not_empty_initial":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"saving":{"instruction_type":"normal","instruction_message":"Saving note..."},"success":{"instruction_type":"success","instruction_message":"Note successfully saved!"},"error":{"instruction_type":"error","instruction_message":"Unable to save note note at this time. Please try again."}},"email_for_login_code":{"placeholder_text":"Your email address","initial":{"instruction_type":"normal","instruction_message":"Enter your email to log in."},"success":{"instruction_type":"success","instruction_message":"Enter your email to log in."},"blank":{"instruction_type":"error","instruction_message":"Enter your email to log in."},"empty":{"instruction_type":"error","instruction_message":"Enter your email to log in."}},"login_code":{"initial":{"instruction_type":"normal","instruction_message":"Check your email and enter the login code."},"success":{"instruction_type":"success","instruction_message":"Check your email and enter the login code."},"blank":{"instruction_type":"error","instruction_message":"Check your email and enter the login code."},"empty":{"instruction_type":"error","instruction_message":"Check your email and enter the login code."}},"stripe_all_in_one":{"initial":{"instruction_type":"normal","instruction_message":"Enter your credit card details here."},"empty":{"instruction_type":"error","instruction_message":"Enter your credit card details here."},"success":{"instruction_type":"normal","instruction_message":"Enter your credit card details here."},"invalid_number":{"instruction_type":"error","instruction_message":"The card number is not a valid credit card number."},"invalid_expiry_month":{"instruction_type":"error","instruction_message":"The card's expiration month is invalid."},"invalid_expiry_year":{"instruction_type":"error","instruction_message":"The card's expiration year is invalid."},"invalid_cvc":{"instruction_type":"error","instruction_message":"The card's security code is invalid."},"incorrect_number":{"instruction_type":"error","instruction_message":"The card number is incorrect."},"incomplete_number":{"instruction_type":"error","instruction_message":"The card number is incomplete."},"incomplete_cvc":{"instruction_type":"error","instruction_message":"The card's security code is incomplete."},"incomplete_expiry":{"instruction_type":"error","instruction_message":"The card's expiration date is incomplete."},"incomplete_zip":{"instruction_type":"error","instruction_message":"The card's zip code is incomplete."},"expired_card":{"instruction_type":"error","instruction_message":"The card has expired."},"incorrect_cvc":{"instruction_type":"error","instruction_message":"The card's security code is incorrect."},"incorrect_zip":{"instruction_type":"error","instruction_message":"The card's zip code failed validation."},"invalid_expiry_year_past":{"instruction_type":"error","instruction_message":"The card's expiration year is in the past"},"card_declined":{"instruction_type":"error","instruction_message":"The card was declined."},"missing":{"instruction_type":"error","instruction_message":"There is no card on a customer that is being charged."},"processing_error":{"instruction_type":"error","instruction_message":"An error occurred while processing the card."},"invalid_request_error":{"instruction_type":"error","instruction_message":"Unable to process this payment, please try again or use alternative method."},"invalid_sofort_country":{"instruction_type":"error","instruction_message":"The billing country is not accepted by SOFORT. Please try another country."}}}},"fetched_oembed_html":false}