The WordPress Wrap Up: Thanks For Taking Part In Our Q&A Session
UPDATE: The competition is on again! Please check out the new article and submit your WordPress question there, for your chance to win a free membership at WPMU DEV.
As you probably noticed, we ran a little competition here last week, where we asked our readers to send in questions about WordPress. We selected a few of the most interesting ones and published them on the blog, asking everyone in the WPMU community to help us out with some answers.
Sadly, we weren’t able to publish everything we received (there were a TONNE of responses), but we want to say a great big thank you to everyone who participated. You’ve given us plenty of material to work with, and in the new year we’ll focusing on blog posts that answer all of the questions we’ve received from our readers. So stay tuned – 2012 is going to be massive here at WPMU.
In the meantime, here’s a summary of some of the best questions and answers we received last week:
WordPress Question #1
I’m a WordPress designer, and looking for a way to simplify my workflow. I have a standard set of plugins, tweaks and adjustments that I use on every WordPress site I build.
Is it possible to export all of these as a package that I can use as my default WordPress setup, rather than doing the same installations and tweaks every time I make a new site?
Installing the same plugins and making the same adjustments on every site is very time consuming, and I would like to be able to streamline this process.
I have two way of doing this:
1. If the setup only needs my default plugins, then I have a git repository setup with the latest versions of both WordPress and plugins, and all I need to do is a simple “Git Clone URL_OF_MY_REPO”, and I have WordPress with all the plugins I need on the new server and under version control.
2. If the setup needed includes both theme and plugin settings, then I use Duplicator which is a free plugin that allows you to create a single package with all of your site’s files (WordPress,Themes,Plugins) and the database (which means all of your settings). I just upload it to the new location and run the package installer that was generated by the plugin, and in about 10-20 seconds I have a site in a new location with all my files and settings.
The best thing about this plugin is that it takes care of the messy database URL changes by itself.
WordPress Question #2
I do a lot of development locally, and I have a WordPress Multisite installation which is already live.
What is the best method for moving a locally developed site into a subdomain of my Multisite installation? While keeping any downtime or technical issues to a bare minimum.
My method W/O a plugin is as follows:
1.Export the DB out of phpMyadmin
2.Copy all files from FTP to local machine
3.Modify .sql file (2 lines only) with new URL
4.Modify config.php file with new DB credentials if needed
5.Import .sql file to new DB
6.Upload all files from local source to new destination via FTP
There are a few good plugins out there (including BackupBuddy) that will do all of this for you, and they are easier if you’re not familiar with a hands-on approach to your DB. However, this method is free, it forces you to have a copy of your files and DB locally (if you don’t already), and I just prefer getting my hands on my files rather than trusting a plugin to do it for me.
Courtesy of Aaron – thanks! Read all the answers here.
WordPress Question #3
How do I tame my media library? Whenever an image is added to a post, multiple thumbnail sizes of the image are generated by WordPress. Since I don’t use most of those sizes with my theme, there are quite literally thousands of orphaned images taking up space on my server. (It’s an image-heavy site.)
I’m running 3.2.1 and want to upgrade to 3.3 without import timeouts or failed memory fatal errors. I’ve seen a plugin called DUI mentioned in many posts; it doesn’t work with 3.2.1 (at least my install) and I’ve not yet found another other way to do this, beyond manually deleting the files.
Does anyone know a way to automatically get rid of these multiple image sizes, or stop WordPress from creating them in the first place?
If you change the default image sizes you want deleted to zero, they should not load. By setting the creation size to zero, WordPress will stop creating them, and only the image you loaded is saved.
Dashboard > Settings > Media > set image dimensions to zero.
Courtesy of Marna Friedman – many thanks! Read the original article here.
WordPress Question #4
I’ve upgraded from WordPress 3.2.1 to WordPress 3.3, and found that all my categories, custom post types and posts are showing a 404 error, whereas my pages and queries are working fine.
This is my custom permalink setting: (“/%year%/%category%/%postname%.html”)
I tried changing the permalink setting to the other options that are provided. When I excluded the category from the permalink structure, like this: (“/%year%/%postname%.html”), this fixed the problem for my posts.
But categories and custom post types are still showing the 404 error.
Can anyone suggest a way to fix this problem?
We don’t have one yet! We received plenty of clever suggestions from our readers, but none of them seem to have worked for Ayub. If you think you can help him with this, please leave a suggestion on the original article.
Thanks again to everyone who helped us with this. Stick around – there’ll be plenty more of this sort of thing happening at WPMU over the coming months.Tags: