Logo

Ethan Hampton


website

  • Fix WordPress Login Infinite Redirect Issue

    23-Aug-2020 | 333 Words | 2 min read

    When changing the base URL of a WordPress site to use https, sometimes when visiting the login page (https://example.com/wp-login.php) the site will refuse to load. I have run into this issue several times and this will show how to solve it.

  • How I Leaked Database Credentials

    28-Jul-2020 | 1533 Words | 8 min read

    Running a server can be difficult and it is very easy to leak important credentials. Much easier than you want it to be. I ended up leaking a dangerous file from one of the WordPress websites I manage, named ‘wp-config.php.save’ to the public internet. It contained passwords to the site database, cookie keys and cookie salts. This created a couple issues, namely the fact that anyone who could access the database server could have had full write permissions. There are a couple reasons why I don’t think this happened, and most of them are due to great default protection by Azure, so I got extremely lucky. I am going to dive in to the events leading up to the incident and then what I did to resolve it.

  • Well That's Neat!

    23-May-2020 | 573 Words | 3 min read

    I just finished deploying the first dynamic part of my new website! You will notice now there is a new section on the sidebar that displays a random assortment of links from around the web. This is my “Neat things” list.

  • Don't Trust Client Side Analytics

    10-Mar-2020 | 971 Words | 5 min read

    The moral of this story is don’t trust client side analytics.

    I enable uBlock Origin (a tracking/ad blocker) on ethohampton.com. Seriously, on my own website. I don’t even have ads that I might need to block. So why, you might ask don’t I have my own domain on my unblocked list?

  • So you want to start a blog?

    05-Nov-2019 | 1173 Words | 6 min read
    Hello! A friend recently asked me (and I am summarizing here), “Ethan, I want to start my own blog where I can publish articles and then create a mailing list. What should I use to do that?” I thought, “Well that’s a great question Phil! Let me get back to you” so I am using this blog post as a way to do that. My Blog What do I use to host my blog?

Ethan Hampton is a Oregon State Honors College student studying Computer Science. Ethan loves simple but effective ideas that work at a large scale to help make the world a better place

Thoughts and Ideas

Subscribe to my collection of internet links, thoughts and ideas delivered to you weekly

Recent Posts

  • Fix WordPress Login Infinite Redirect Issue | 23-Aug-2020
  • How I Leaked Database Credentials | 28-Jul-2020
  • Well That's Neat! | 23-May-2020
  • Don't Trust Client Side Analytics | 10-Mar-2020
  • Theme a Little Theme With Me | 06-Feb-2020