How to fix a noisy MacBook Pro fan

Fan maintenance:


Export a part of your Wordpress content

Move your Website to a New Hosting Server

Six steps:

Moving a WordPress site:

Zero down time —-> Point the old site to the new database on the new server:

Moving WordPress Multisite

Multisite is far more complicated to move, as the database itself has multiple references to the server name as well as the folder locations.

The best way to move Multisite is to move the files, edit the .htaccess and wp-config.php (if the folder name containing Multisite changed), and then manually edit the database. Search for all instances of your domain name, and change them as needed. This step cannot yet be easily automated. If you’re moving Multisite from one folder to another, you will need to make sure you edit the wp_blogs entries to change the folder name correctly.

Moving WordPress to a New Server

If you are moving WordPress from one server to another, begin by backing up your data. This includes backing up your WordPress database as well as all the core files, images, plugins, and other files on your site. See WordPress Backups and Backing Up Your Database for more details.

  • Note: If you are changing to a new server but same domain, all you need to do is edit wp-config.php and upload everything as it is to your new server.

If You Don’t Care If Your Old Blog Works

  1. Download a copy of the main wordpress files from your OLD blog to your hard drive and edit wp-config.php to suit the new server.
  2. Go back to your OLD blog and go to AdministrationSettingsGeneral and change the url (both of them) to that of your new site.
  3. Again, download your database (but keep the old one just in case), upload this new database and the copy of the wordpress core files with the edited wp-config.php to your new server. Thats it!

If You Want Your Old Blog To Still Work

Caution: Make sure you have a backup of your old blog’s WordPress database before proceeding!

Part A – Activating Your New Blog

  1. Download your entire WordPress installation to your hard drive. Name the folder appropriately to indicate that this is your OLD blog’s installation.
  2. Go back to your OLD blog and go to options and change the url (both of them) to that of your new site.
  3. Again, download your entire WordPress installation to your hard drive. Name the folder appropriately to indicate that this is your NEW blog’s installation.
  4. Download your database once again (but keep the old one). Upload this database to your new server. It will be easiest if you use the same database name and you create a user with the same login credentials on your new server as on your old server.
  5. If you used a different database name and/or user (see previous step), edit wp-config.php in your NEW blog’s installation folder appropriately.
  6. Upload the NEW blog’s installation folder to your new site. Presto, your NEW blog should be working!

Part B – Restoring Your Old Blog

  1. On the original server, delete your OLD blog’s database (remember, you should have a copy on your local computer that you made at the very beginning).
  2. Upload your OLD blog’s installation folder to your original server, overwriting the files that are currently there (you may also delete the installation folder on the server and simply re-upload the OLD blog’s files).
  3. Upload your OLD blog’s database from your local computer to the server. That should do it!

Another procedure for making copies of posts, comments, pages, categories and custom field (post status, data, permalinks, ping status…) easy to follow:

  1. Install a new WordPress blog
  2. Go on old blog Admin panel. Here, in Manage > Export select “all” in menu Restrict Author.
  3. Click on Download Export File
  4. In new blog go on Manage > Import, choose WordPress item.
  5. In the page that will be shown, select the file just exported. Click on Upload file and Import
  6. It will appear a page. In Assign Authors, assign the author to users that already exist or create new ones.
  7. Click on Submit
  8. At the end, click on Have fun

Note: using this method if there are some articles in new blog (like hello world, info page…), these will not be erased. Articles are only added. Using the former procedure the article in new blog will be deleted.

How to Make A Painless Move to a New Web Host

Wordpress multisite: share posts between child sites.

Use either of these two plugins:


Diamond Multisite Widgets

Solution source:

Wordpress multisite: Child site max limit of 10 MB

In WordPress 3.1.x, you will find these options by clicking “Network Admin” in the top right, then “Settings” on the left menu.


WordPress Plugin: Post by Email in multisite

WordPress › Support » Post by Email vanished from Settings.

What multisite has disabled (wp-includes/ms-default-filters.php) a plugin in “mu-plugins” can enable:

add_filter( ‘enable_post_by_email_configuration’, ‘__return_true’ );

WordPress Plugins: Postie – Blogging via e-mail with advanced features.

The Postie plugin allows you to blog via e-mail, including many advanced features not found in wordpress’s default post by e-mail feature.

WordPress › Postie « WordPress Plugins.

Problem: “Warning: in_array() []: Wrong datatype for second argument”

To fix the problem:
Warning: in_array() []: Wrong datatype for second argument in /home/sitename/public_html/wptemp/wp-content/plugins/mm-chat/chat.php on line 446 
open up your chat.php file and on line 446 where you see “in_array()…” change that to “@in_array()”.

Do that to any warnings you’re getting.

(Note: This fix is simply a warning suppression.)

Solution source:

Publish iCal calendars via built-in FTP support