How to Increase the Speed of Your WordPress Website by 300%
I will be focusing more on the steps I took to speed-up the WordPress website and how to make the website load faster.
I will be focusing more on the steps I took to speed-up the WordPress website and how to make the website load faster.
According to the report the new company Menlo Security, the Internet is a very dangerous place: every third Wednesday of the popular websites vulnerable or already hacked and attacked visitors using exploit packs.
For example, in late 2014, the site of the popular edition of Forbes for a few days to infect users using zero-day vulnerability in Adobe Flash. It is this case that Menlo Security Specialist at a global study of the Internet explained. They tested a million sites from the list of the most popular, according to Alexa. Since each site has been downloaded any content that is sent saved on the computer ordinary visitor: frames, embedded content, widgets, etc.
66% of the sites did not have any malicious software, but the remaining 34% are classified as “risky”. In particular, 22% of servers are working on a vulnerable infrastructure, including vulnerable versions of PHP or vulnerable version of Apache Web Server or IIS. Just a couple of percent of Web sites are running on a vulnerable CMS, moreover they are equally divided between WordPress and Drupal.
The graph shows how vulnerable sites are distributed in thematic categories. Easy to see problems for all categories.
In addition to the existing vulnerabilities, 4% of the largest web sites have been cracked and spread malware. Another 3% is used for spamming or botnets work.
Today we will talk specifically about server virtualization and virtualization on a home computer. To begin to talk about Virtualization, lets look at what is a virtual machine or in the server virtualization so called a hypervisor (virtualization environment).
In this article I would like to answer these questions: Do I need a website? How much does a website cost? How do I find a web designer (webmaster)? What are the requirements for a website design? What are the Stages of development? What is Search Engine Optimization and and how do I make my website visible online through Internet Promotion?
Modern pace of life and business leaves its mark on all means both receiving and providing information. The only matter is how fast and complete information can be found. On all of this depends success of a business.
The Internet has given the world the rich opportunities for providing information. But the cornerstone of the present moment is the speed and ease of information processing and how quickly and correctly can your business provide up to date information on the Internet. Modern technology of creating and maintaining websites offers developers, managers and site users a huge selection of ready-to-use systems. Most content management systems (CMS) are universal, but many have their main purpose, its pros and cons.
“Selecting Content Management System (CMS). Why Do You Need One?” provides useful information about CMS and will answer some of the questions that will help your business to make the right choice between CMS.
Why do you need a content management system? All instruments owe their existence to the human impulse to facilitate work and make it more efficient. No exception applies to the Internet technologies. Site creation and support process is quite time consuming and requires some knowledge of programming, design and marketing. Most modern CMSs allow people to have minimal skills to work with a personal computer and Internet knowledge to share their work through the site: add and update information on the site, take orders, analyze statistics, etc.. All the operations before the existance of the CMS demanded skilled labor. Specialists in design, graphics, programming, and marketing are now available to ordinary users. When using the CMS website within a few minutes you can add news article or edit product and services offering.
Available Capacity. When using the CMS, a website has no need to install any special software, because the system itself is installed on the web server and all transactions are carried out on the content through any internet browser (Internet Explorer, Mozilla, Opera, Safari, Google Chrome, etc. ).
The Completeness of the Functionality. Most CMS made on the principle of modularity that has some basic base to which you can connect the modules. Modules may already be part of the complex system, and can be installed separately. Many systems allow independent development to develop and include the additional modules to a CMS. Thus the overall functionality of a website depends on the functions of the included modules.
Security. Most modern CMS provides a range of facilities for the safe operation of the site, information security and integrity of the site’s structure.
Overall structure. All CMS consists of a shell (program management ) and Databases. Shell is a set of programs that take the user’s request information from the database and pass it as a separate page to the browser. Most of the dynamic pages are generated “on the fly” in a predetermined pattern.
Site assignment. most important criterion for choosing a content management system (CMS) is a destination site. If your site is geared primarily to the sale of goods or services (online stores, catalogs, etc) then this could be one type of CMS, with eCommerce functionality. If you have news or information portal then it’s a different kind of system. If you are planning a large company’s intranet or portal then it will need a corporate system. And so on, it all depends on the direction and purpose of the website. The only type of sites that use CMS is not so justified is for the sites with it 1-3 pages, business cards (About Us, Contact), or some informational sites.
Funcionality. Once you have decided on the appointment of the site, there will be a list of functions that the system should provide: accommodation of the information materials (news, articles, terms and concepts, questions and answers, and so.), placing product offerings, services list (catalog), order forms and applications, feedback, support, communication and etc.. All these specific tasks provide basic functionality of the site. Therefore, when choosing a CMS you should pay careful attention to its functionality.
Comfort. Next, you must determine who, where and how often will work with the content of a site. You need to consider publisher’s computer skills. The CMS should provide a comfortable text editors to the site administrators, owners, and authors. And if it is in the scope of the site that a team of authors will be involved in updating and adding the content, then CMS should provide ample opportunity for teamwork.
Technical requirements for hosting. Since the CMS is installed on the server (web hosting platform) then all CMS already has a number of technical requirements for the server, where it will operate. CMS requires different types of databases, programming languages support, available disk space, and other similar features. If you already have a hosting platform, when choosing CMS you should pay attention to the technical ability to use this CMS on your site. Particularly complex, multipurpose CMS or projects with a large attendance (news sites, large online retailers) can place a heavy load on the server.
Security. There are two types of software development: open source system (CMS source code is open for modification) and commercial systems closed-source (source CMS is the property of the developer and can not be modified). For the first type is characterized by the presence of a large number of different modules and more than a simple change in the functional site. These systems are supported by some developer community on a voluntary basis. For commercial (closed) systems are important better security and support. And certainly – for all types of CMS important updates and security fixes.
The Cost. There are paid and free content management systems. And even among commercial (private) CMS, there are free or shareware editions. Typically, these free options have almost all the necessary functionality for a small website (blog, online store, web site directory, etc). Advanced functionality is sometimes available for a purchase.
Support. It is important to determine who and how will deal with installation and maintenance of your CMS. Each CMS may have its own specialist company, or contract with the developer’s studio. The value to adding developer’s support provides the speed, confidence and high level of maintenance to your site. For systems with open source, it is important to have members in the community worthy of support channels, such as the official forums, mailing lists, wiki and knowledge base.
Ease of Deployment. An important factor is the ease of installation and the system’s upgrade. If you install and configure CMS by yourself it may require long work hours. In this case you must consider alternative options for who will be deploying your CMS project (webmaster, developers, or site administrators).
Cumulative comparison of all these factors and will give you an insight into what kind of CMS is most suited to you. In conclusion, you should have an understanding of the project’s cost, ease of use and maintenance. The total costs are generally considered as the cost of the product (or a license to use it), the cost of implementation of the product, the cost of support for minimum of 2 years and the expected costs of upgrading the site by the developers.
Popular CMS:
Remember of advantages and disadvantages of WordPress and Joomla:
Recently, I have had experience that a few of the clients reported that our company’s website had a virus or some kind of malware. I was not aware of it, until I started digging into it and found out that a few files have been injected with some kind of malicious code that would either redirect users to other websites or collect users information. I hurried and took care of this issue by removing the malicious software and establishing the security policy for our website. Results were positive and I continue until today to observe security policies and practices for each website that I am working on.
When we create a website most of the times from my personal experiences most of us don’t think of the most important thing, it is its security. Probably because we don’t have much experience working on creating new websites that’s why we do not think about it, but now it’s time to start thinking about it. The most important thing is always ask yourself the question: “What would happen if …?”. If you always ask this question, then your website will always be protected by almost 100%.
The site security is an urgent task for many website owners today. The emergence of a huge number of resources such as “Hacking for Dummies”, even those Internet users who previously had no business to your site or did not know much about Internet in the past, are eager to try their gained knowledge and brag about it by hacking your site.
What to do to protect your website from hacking? Where to start?
I will try to provide a few steps you need to start taking in order to secure your website from hacking. Security policy should start from the safe use of development tools to build your site. But I will not go into the details of programming, and present a number of actions of Safety when working on site that is built on content management system (CMS). I will continue to emphasize that the most secure sites are the ones that are written by yourself, as a programmer, from scratch.
For a start I will list non-programmatic methods that I use to protect the site from hacking. Surely, you have not even heard about them, but maybe you just did not pay attention.
Here is the Website Security List:
Please consider these main “anti-hacking” actions to secure your site:
# Use PHP5.3 Single php.ini as default
AddHandler application/x-httpd-php53s .php
##### RewriteEngine enabled – BEGIN
RewriteEngine On
##### RewriteEngine enabled – END
##### RewriteBase set – BEGIN
RewriteBase /
##### RewriteBase set – END
##### File execution order — BEGIN
DirectoryIndex index.php index.html
##### File execution order — END
##### No directory listings — BEGIN
IndexIgnore *
# For security reasons, Option followsymlinks cannot be overridden.
#Options +FollowSymLinks All -Indexes
# For security reasons, Option all cannot be overridden.
#Options +SymLinksIfOwnerMatch All -Indexes
Options SymLinksIfOwnerMatch ExecCGI Includes IncludesNOEXEC -Indexes
##### No directory listings — END
##### Rewrite rules to block out some common exploits — BEGIN
RewriteCond %{QUERY_STRING} proc/self/environ [OR]
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_(en|de)code\(.*\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
##### Rewrite rules to block out some common exploits — END
##### File injection protection — BEGIN
RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=http:// [OR]
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=(\.\.//?)+ [OR]
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=/([a-z0-9_.]//?)+ [NC]
RewriteRule .* – [F]
##### File injection protection — END
## Disallow access to rogue PHP files throughout the site, unless they are explicitly allowed
RewriteCond %{REQUEST_FILENAME} (\.php)$
RewriteCond %{REQUEST_FILENAME} !(/index[23]?\.php)$
RewriteCond %{REQUEST_FILENAME} -f
#RewriteRule (.*\.php)$ – [F]
## Disallow access to htaccess.txt, php.ini and configuration.php-dist
RewriteRule ^(htaccess\.txt|configuration\.php-dist|php\.ini)$ – [F]
##### Advanced server protection — END
<?php
$mysqli =new mysqli(“localhost”,“root”,“”,“mydb”);
$array[“first”]=“1”;
$array[“second”]=“2”;
foreach($array as $key => $value){
$mysqli->query(“DELETE FROM `my_table` WHERE `field`=’$value'”);
}
?>
If you initialized the array so: $ array = array ();, then everything would be in order. However, I am sure that not all of you are doing it. As a result, the attacker goes to the following address: http://www.yourdomain.com/your_script_name.php?array [zero] = 0, and your script safely removes that record, which should not have been removed. And nothing would have happened if it had been that the directive register_globals was disabled.
Conclusion:
Perhaps you will find safety a troublesome occupation, but do not forget that you and only you are responsible for keeping the passwords to access the site safe. Also, you must understand that even the use of all these tools do not give 100% guarantee of protection against hacking. Also remember that the probability of a hacker attack is directly proportional to the value of the information stored on the server. If you own a personal blog, these steps if followed help to forget about the Internet intruders. And, finally, you don’t have to be the one doing all the work. Hire someone who has experience and knows how to do it.
As a Webmaster I have been asked “What information do you need to design a good website”. I follow a few steps as outlined in “Website Design” article.
This article covers the basics of DoS / DDoS attack protection and how to reduce its risk.
DDoS-attack is short for Distributed Denial Of Service Attack. The main characteristic of this type of computer crime is that the criminals are not intended to enter into a protected computer system to steal or destroy data. The main purpose of this attack is to paralyze the attacked site. DDoS-attack is a derivative of DoS and differ only a large number of requests to the server with a different IP address. This is why criminals collect their chain Trojans infected computers and cause them to turn to the server, making it not withstand such loads. The first reports of DDoS-attacks were known in 1996.
In most cases, global attack leads to financial losses on the part of the attacked. For example, if a commercial site will drop for a few hours, then it would damage the business, and if for a week, then the owner of the resource may well go under.
Denial of service can be made in two ways: using software vulnerabilities of victims and by sending a large number of specifically composed of network packets (flood). The first method consists in that using the buffer overflow vulnerabilities, by sending the code to the server that performs DoS. Since the attack will be “inside”, then after a very short time the object will be “frozen” or is disconnected from the Internet. This method does not require large computational resources hitter, but this attack uses security vulnerabilities, which in itself complicates the task. The second method is by using of brute force, which practically does not require any special skills. The idea is to send as many as possible requests to the server (those requests also could be the huge number of normal packets, such as GET-requests for HTTP-server hosts.) The fact that the server receives a data packet that is processed by the server. If a packet arrives, but the server is busy receiving or processing of another package, then coming back a request is put in place, taking up part of the system’s resources. In carrying out DoS-attack server sends a large number of packets of a certain size. In this case, the server’s response is not expected. As a result, due to the fact that the server is overloaded with information, it is either disconnected from the Internet, or “frozen”. In any case, normal users some time can not use the services of the affected server.
Schematically, DDoS-attack looks like this: on the selected server as a victim collapses a huge amount of false requests from multiple computers from different parts of the world. As a result, the server spends all its resources to service these requests and is virtually inaccessible to ordinary users. Cynicism of the situation lies in the fact that users of computers to which requests are sent are false, may not even be aware that their machine is being used by hackers. Programs installed by hackers on these computers are called “zombies” (examples of such programs could be Trojans). Perhaps this preparatory stage is the most time-consuming for an attacker.
Most often, attackers during the DDoS-attacks are using three-tier architecture, which is called “cluster DDoS”.This hierarchical structure includes:
DDoS software was originally produced in a DDoS “peaceful” purposes and used for experiments on the network bandwidth and their resistance to stresses. Over the years, this software is constantly being modified. For more detailed understanding of DoS-attacks, I will review five most popular types of DDoS-attacks:
The most dangerous are the programs that use multiple types of attacks described. They are called TFN and TFN2K and require a high level of training. One of the latest software for organizing DDoS-attacks is Stacheldracht (barbed wire), which allows you to organize a variety of types of attacks and avalanches broadcast ping requests with encrypted communications between controllers and agents.
Of course, in this review I’ve covered only the most well-known programs and methods of DDoS. In fact, a much wider range of programs and is constantly updated. For the same reason, it would be naive enough description of universal reliable methods of protection from DDoS-attacks. Generic methods do not exist, but the general guidelines to reduce the risk and minimize damage from attacks include such measures as the competent configuration features anti-spoofing and anti-DoS on routers and firewalls. These features limit the number of half-open channels, preventing overload the system.
Here are several ways you can protect yourself against DoS attacks