Tag: WordPress
-
Changing the Domain Name on WordPress Multi-site
I created a WordPress site for a client who needed to support both English and Español versions of their content, which involved using a plugin called MultilingualPress that creates relationships between sites for each language. I developed the site locally on my server, and then after they created some content, migrated it to their hosting…
-
A Little Security for WordPress on CentOS
I logged into a newly provisioned VM recently to see a message that there had been 86,876 failed login attempts from a domain in another country. Last failed login: Sat Sep 13 04:02:20 UTC 2014 from 222.186.34.117 on ssh:notty There were 86876 failed login attempts since the last successful login. That got me to looking…
-
Hacking a Theme
I was setting up a temporary WordPress site for a client as a placeholder for their business. All they wanted was their logo, a link to an existing product page, and a message about the site being under construction. Since they were going to have some design ready shortly, I set them up with a…
-
WordPress on CPanel
I had to set up a WordPress instance on a server where my only real access is via cPanel, so I Googled a bit and found this article: http://www.howtogeek.com/howto/20859/install-wordpress-manually-on-your-website-using-cpanel-wizards/ First step is to log in to the cPanel, which is typically at some arbitrary port on your server, and log in with your admin credentials. If…
-
Using TDD (Test Driven Development)
If you read my previous post (WordPress Recovery), you know I’ve been writing some code to recover my old posts. It occurred to me I could take a small segment of what I’ve been doing with that code to demonstrate my approach to TDD. Since I’m a hacker from way back, and also because I…
-
WordPress Recovery
Well, I have the basics of my blog recovered now, so almost all of my posts going back several years are once again available. In my last post titled Lesson Re-learned: Backups !, I admitted that I had committed the cardinal sin of making changes to my web site without doing a backup first (walking…
-
Eventbrite Calendar Feed
I volunteer and provide technical support for a few non-profits, one of which is the Project Management Institute San Francisco Bay Area Chapter (http://www.pmi-sfbac.org) where I serve as the VP of Operations and CGO. One of the moves I made in my first year with them was to migrate our event calendar to Eventbrite and…
-
Changing a Web Site to use hosted WordPress
I got an email from my friend Athens who had just relaunched her web site at http://www.athenskconsulting.com/ but was now having problems with email. The first thing I did was to run over to the MX Toolbox site to see what was going on with her servers. A quick look and saw that her mail…
-
Continuous Integration: Missing mcrypt
I’m doing some work on a project that is using PHP, and have been working on setting up some continuous integration build scripts to make sure that we have a shot at catching errors before they make their way to production. Recently some unit tests were added for the “forgot password” code, which uses the…