All posts in WordPress
I wanted to write some quick notes regarding the feedback that we got from our developers about how to export and import databases using WP-CLI. What a wonderful tool it is! WP-CLI stands for “WordPress Command Line Interface”. There are a bunch of commands you can use to manage WordPress . . . Read more
Make a Copy of an Entire Codebase: Very useful for preparing for a major version update. Let’s say you’ve got a codebase, living at: /home/USERNAME/public_html/ You can make a copy of the whole gosh dern thing, while watching the files stream before your eyes with: cp -Rv /home/USERNAME/public_html/ /home/USERNAME/public_html_YYYYMMDD_bak/ . . . Read more
Our goal was to increase the maximum upload size via php config. You can do this straight from WHM. But the gotchya is that there are TWO places you can do it from. And evidently one overrides the other. So, for diagnosis, I created a phpinfo() file on the WP . . . Read more
Skip to end of metadata Created by Benjamin Turner, last modified on Dec 04, 2013 Go to start of metadata This guide focuses on getting the data out of Pagodabox. General Step-by-step guide for Pagodabox migration: Download the Site from Pagodabox (covered in this guide) Setup Server that will be the . . . Read more
It’s good to know how to create backups for safekeeping. This is how to do that in cPanel. Log into cPanel Please make sure that you are aware of just how much data you are backing up and for what purpose. I.E. check the current size of the data . . . Read more
Creation of a new, blank Wordpess sandbox is useful for wireframing or trying out new themes and/or plugins. Because we are not migrating any content from an existing site, this process is easy, and can be done with GUI tools. Overview of Steps Create a space on the server where . . . Read more
This article is for anyone who is tasked with adding a new domain to one of the existing MM UCC certs and installing it on the server. Step-by-step guide PART 1 – Adding SAN to the UCC SSL cert purchased via domains.peacefulmedia.com Go to http://domains.peacefulmedia.com/. Under “SSL & Security” click . . . Read more
A few tasty tidbits, to jog the memory about database & server optimizations… To be expanded. Share your thoughts and suggestions! Example Server: Memory Available: 1,751,724k total Handy Queries: mysql> SHOW VARIABLES LIKE ‘%cache%’; mysql> SHOW STATUS LIKE ‘Qcache%’; My.cnf Tweaks: ; QUERY CACHE… query_cache_size = 500M query_cache_type = 1 . . . Read more
This is meant to be a high level walk through for setting up a local development environment for WordPress. Steps Install Git Install Virtual Machine Software (Virtualbox 4.3.x) Install Vagrant Install Vagrant Core 1.6.3 Install Vagrant Plugins Hosts Updater Plugin : https://github.com/cogitatio/vagrant-hostsupdater Triggers : https://github.com/emyl/vagrant-triggers Note: While the above plugins are technically not . . . Read more
Source Control These tools are used to help coordinate developer changes to projects. Git (Used to track and merge changes to code) Bitbucket (GUI front-end to GIT. Allows for project specific permissions on projects) Source Control Howtos: Installing Git : http://git-scm.com/book/en/Getting-Started-Installing-Git Git GUIs: http://code.google.com/p/tortoisegit/ (Windows) Local Development Local development . . . Read more
We need to write/publish a set of sequential “Developer Foundations” articles that will teach new developers (or people looking to get into development) how we wish to develop the “Peaceful Media” way. For now this page is simple a discussion of what should be included in this set. Please feel . . . Read more
Let’s use this page as a place to flesh out an ‘official’ PM WordPress + GIT workflow. Comments Benjamin Turner Here is a number of WP + GIT workflows outlined in blog posts, collected and meant to be a basis for discussion and refinement: http://theme.fm/2011/08/tutorial-deploying-wordpress-with-capistrano-2082/ http://theme.fm/2011/09/deploying-wordpress-with-capistrano-part-2-staging-servers-tagging-database-security-2213/ http://theme.fm/2011/11/deploying-wordpress-with-capistrano-part-3-backing-up-and-restoring-mysql-2922/ http://roybarber.com/version-controlling-wordpress/ http://www.metaltoad.com/blog/tutorial-simplify-your-wordpress-deployments http://danielkoskinen.com/version-control-and-deployments/ . . . Read more
SEO Name Why It’s Great Link to Plugin Site WordPress SEO by Yoast Mature, stable plugin. Great aid for ensuring that the keywords you are targeting are actually being represented in the content that you are generating. http://wordpress.org/plugins/wordpress-seo/ User Roles and Permissions Name Why It’s Great Link to Plugin Site . . . Read more
These instructions are specifically for Peaceful Media servers, using client GAJDA / Raiseyourvalue.com as an example. 1/ Login to Server: Create a folder called “_back” one level above “public_html” Set this folder’s permissions to 777 Notes from Lawrence: On our servers, you’ve gotta create the backup folder yourself . . . Read more
Hands down favorite, step-by-step guide to using the almighty WordPress platform for podcasting: http://wpcandy.com/teaches/how-to-publish-professional-podcasts-with-wordpress/