Posts Tagged ‘adventure’
Well, that was an Adventure!
Wow, what an adventure into the powers of .htaccess’s! I don’t think I’m going to play with those ever ever ever again…
What happened was that I installed a plugin called ‘AskApache Protect’. It basically protects all of the files that should be protected, but aren’t, from harm and danger. But, it does this via .htaccess’s. My host helped me out and restored everything … but I still had to fix the .htaccess.
Playing with .htaccess on mac isn’t that great. Infact, I have no clue how to do it still… I used bash. So I used vi on the .htaccess and emptied it all. After that, I had to figure out how to upload the file on ftp in bash. It was surprisingly easy, and it fixed it!
After that, my loginlockdown plugin wasn’t being friendly, so I had to go into phpmyadmin and delete the data in the activated_plugins row in the wp-options table.
Quite a big workaround, but it worked!
All in all, I learned a lot
It was at a high opportunity cost, BUT how else are you supposed to learn if you don’t fail/mess up once in a while