WordPress Backup Plugins and Services

Regular backup of your site will make you fill safer than any other above. Backup is a must if you have had put a lot of work and energy to your site. It takes a lot of time to fix your site after attack without backup.

Few ways to backup WordPress sites

  • Premium Plugins

    1. Backup Buddy

      Backup Buddy schedules and backs up your data to Amazon S3 server or an e-mail or an FTP / FTPS account, Restore your WordPress site with your themes, widgets, plugins etc., on the same server or migrate it to a new server with a new name and domain like Sandbox or Playground site
  • Free Plugins

    1. WP-DB-Backup

      WP-DB-Backup plugin creates a backup of your core database tables and also other tables in the database and gives you an option of saving your back up data either to your server or download to your computer or save get you backup file e-mailed to you.
    2. WP-DBManager

      A complete plugin to optimize, repair, backup, restore, and delete the backup database and also to run your queries is offered by WP-DB Manager. Also manages the automatic scheduling of the back-up and manages your whole database.
  • Services

    1. VaultPress

      VaultPress safeguards everything from our plugins, themes, comments, post-revisions with WordPress multi-cloud backups. Updates your blog with hot – fixes and protects them with zero-day vulnerabilities.
    2. BlogVault

      blogVault creates a backup of your blog which includes the full posts, comments, images, plugins, themes and style sheets by copying them into its secure and robust servers which lets you restore the contents any time easily.
    3. ManageWP

      ManageWP is a service that lets you administrate all of your WordPress websites from the one area. external FTP, Amazon S3 and Dropbox. You can schedule backups on a daily, weekly or monthly basis. The number of backups you want to keep can be set and you can choose to delete older backups from your server
    4. CodeGuard

      A user friendly service that backs your website up on a regular basis and checks your files for known malware.

PHP Conditional statements to identify iPad or iPod or iPhone


This tutorial will show you how to detect iPad or iPod or iPhone using PHP
Devices which request content from your website (usually) pass a user agent string. This contains information such as its name, OS, browser version, and rendering engine. Apple’s gadgets pass the following user agents, although you may find subtle variations in the version numbers

iPad user agent

Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10

iPhone user agent

HTTP_USER_AGENT=Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1C25 Safari/419.

iPhone user ageny

Mozilla/5.0 (iPod; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/3A101a Safari/419.3  

The following conditional statements can be used to identify iPad or iPod or iPhone

if (preg_match("/iP(od|hone|ad)/i", $_SERVER["HTTP_USER_AGENT"])) { ... }

or

if(strstr($_SERVER['HTTP_USER_AGENT'],'iPhone') || strstr($_SERVER['HTTP_USER_AGENT'],'iPod') || strstr($_SERVER['HTTP_USER_AGENT'],'iPad')) { }

How to transfer domain between registrars

Twitter buzzed with news about GoDodady supported SOPA yesterday (STOP ONLINE PIRACY ACT, just in today, GoDaddy drops support for SOPA). This incident forced many people to transferred their domains from GoDaddy to other registrars that opposing SOPA.

What is SOPA? SOPA is a bill that was introduced in the United States House of Representatives on October 26, 2011. SOPA will allow corporations to block the domains of websites that are “capable of” or “seem to encourage” copyright infringement. Once a domain is blocked, nobody can access it, unless they’ve memorized the I.P. address.

You can read an article from A LIST APART, SAY NO TO SOPA to understand why this bill could destroy the Internet as we know it

Domain Terms

A domain name is a human-readable Internet address that’s uniquely registered to an individual or organization. A domain name is used in the Domain Name System (DNS) to link the text address to server information, such as an Internet protocol or IP address, the location of the mail server that receives messages for a domain or sub domain, or more obscure elements like a cryptographic signature that can confirm the rightful owner of a domain. The domain registrar acts as a middleman to let you request a domain name, and interacts with a central registry for a given top-level domain (TLD), whether that’s .com, .org, .uk, .aero, or one of many others. This ensures the same name isn’t registered twice

Transfer

a. Old Registrar

1. Domain name age is at least 90 days old. You don’t change Administrative Contact in earlier 90 days

2. Cancel Private Registration for your domain. Private registration hide real Contact information from WHOIS, that usually add-on, you should pay for this service. You should understand cancelling Private Registration does’t mean you’ll get refund.

3. Unlock the domain name. You have to be logged in on your registrar’s website to the account, and follow its instructions to unlock the domain. Unlocking happens immediately

4. Make sure the domain name is not using registrar’s NameServer. If you are, switch those to the name servers provided by your hosting company

5. Request an authorization code to make the transfer.

b. New registrar

1. Set up an account

2. Follow the prompts to transfer a domain. For some TLDs, you may not need an authorization code code, but simply approve the transfer via a link sent via email. For others, the process of getting a code is somewhat involved. If you failed to unlock the domain or your current registrar didn’t follow procedures, you won’t be able to get beyond this step until that’s done.

3. Pay for the domain

Final step, check your old registrar. For Some TLDs, you may need to approve/accept transfer from their control panel

DONE!