How to deactivate all WordPress plugins from MySQL database

WordPress plugins can be easily disabled from the database. You just have to open your favorite client and connect to your favorite client and go to your site database. I normally use HeidSQL, phpMyAdmin or Adminer but you can use any other. For this specific task you must know your database connection credentials. If you have an FTP connection you can find that in your wp-config.php file on the wordpress installation root

You will have to go to the wp_options table and search for a specific value in the option_name column. Please note that the table prefix ( wp ) is the standard prefix but can be different from one installation to another. Continue reading “How to deactivate all WordPress plugins from MySQL database”

What is SEO, SERP, SEM, SEA, SMO, SMM and SERM

Today´s Internet contains many abbreviations. Sometimes it´s impossible tu understand the content with so much abbreviation. So what is SEO, what is SEM and where did SERP came from, what SMO and SMM stands for, did I mention SEA, and what in the hell mean SERM. Below, I will describe all this terms:

Search engine optimization (SEO)

SEO or Search Engine Optimization (one of the most used) is the technique which helps search engines to find and get better positioning for your website among millions of other sites competing you. SEO, helps search engines to better understand the content of your website and therefore helps you get more traffic.
Continue reading “What is SEO, SERP, SEM, SEA, SMO, SMM and SERM”

PrettyPhoto Minimal Theme – a pure CSS prettyPhoto simple theme

I have recently used prettyPhoto for a project and I have to admit that it is a great tool to have in hand when it comes to modal pop-ups.

It has lots of types of content support and it is really simple to customize. prettyPhoto also comes with lots of features and 5 built-in themes

  • light_rounded
  • dark_rounded
  • light_square
  • dark_square
  • facebook
  • pp_default
  • minimal theme – which will add here with minimal and pure CSS

…which you can easily change via JavaScript customization. But this is not the subject of this tutorial.

I prefer a default minimal and simple theme for prettyPhoto and the ability to add stuff if I need it and not the opposite. So this is my little CSS to create a simple theme for prettyPhoto Continue reading “PrettyPhoto Minimal Theme – a pure CSS prettyPhoto simple theme”

Enable/Disable WordPress Automatic Core, Plugins and Themes Updates

Back in 2013, the WordPress 3.7 introduces the automatic update feature. There are 4 types of updates and that includes, the WP core, plugins, themes and languages.

Although updates are a good thing to do, from a security point of view, there are some aspects that you will want to take into consideration when doing an update.

So you may want to choose the time of the update, you may want to choose what to update and most of all you would like to take a full backup, just in case things don’t go out well, specially when updating themes.

So if you want to have it all controlled and take decisions after you first test everything, you can completely disable all automatic updates by adding this line to your wp-config.php . Continue reading “Enable/Disable WordPress Automatic Core, Plugins and Themes Updates”

Case study: What 5 languages should I use to translate my website?

I have recently been asked by a client about what 5 languages should he use to go international with his website. Well, beside translating in the obvious English language, I did not know which one should he go next.

I think 10 is the magic number on this, so I will enumerate just the first 10 of them. If you are interested in more than 10 languages, then the order is not quite important Continue reading “Case study: What 5 languages should I use to translate my website?”

Migrating multisite WP, don’t forget to edit wp-config.php

I have previously write about migrating WP using the database search/replace php tool. But migrating a MultiSite intalation is a little bit different.

This is the first time I am playing with WordPress and the multisite feature, so I am learning from my mistakes. There is a small change that I missed the first time I have read the documentation in WP Codex about Moving WordPress:

If database name or user changes, edit wp-config.php to have the correct values.

Continue reading “Migrating multisite WP, don’t forget to edit wp-config.php”

WordPress rename/change Post name to a different post type

There are times when you wold like to rename the default posts to something else. For example, I used a WordPress installation to created a real estate related website from a standard WordPress install.

I needed to add a custom post houses so that the client would be able to add the content to the website, but on the other hand I did not need to use the standard post type since I did not need the blog or news section. So why not convert it to something else. Continue reading “WordPress rename/change Post name to a different post type”

The easy way to migrate WordPress using search and replace database

So you want to migrate a WordPress database and you came into the problem that when you load the new installation directory you are being redirected to the old domain. You probably tried to manually replace in your PhpMyAdmin in the wp_options  table the two entries that normally exist, but still no success. Maybe your website is loading but there are lots of errors in there.

This is because WordPress and lots of plugins store data and full URI in the database using wp_serialize function. Here is a little example about what I am talking about:

If you just do a search and replace you will break all this fields and data can not be recovered.

Continue reading “The easy way to migrate WordPress using search and replace database”

POP vs IMAP vs SMTP vs Forwarding emails

POP vs IMAP, the eternal fight. What is POP and what is IMAP, and what in the hell is SMTP, this one is new, not to mention email forwarding. Here is the answer to all that:

What is POP Protocol

Post office protocol (also called POP) downloads email directly to your computer. When this happens, the mail is deleted from the ISP server. This process occurs to prevent you from reading the same email messages again when you access the ISP server from another computer. The benefit of POP mail is since messages are downloaded directly to your computer, you can read them even if you aren’t connected to the Internet. Continue reading “POP vs IMAP vs SMTP vs Forwarding emails”