Guide to WordPress SEO

Selasa, 25 Oktober 2011 - Diposting oleh Unknown di 20.07
Many say that WordPress is the software the most preferred web search engine in the world. Simply install, install a plugin, select themes, updates and all of a sudden your blog or article on the first page of search results on search engines (Google, Yahoo, etc.). Is this correct?

Not new news circulated that many WordPress plugins are intended for the benefit of SEO. Nor is it a strange thing if in the internet and in stores encountered a book that discusses how to improve the ability of SEO a WordPress-based website or blog. Unfortunately, most books do not provide in depth information.
For example, the authors suggest using a particular plugin, but does not discuss how to use the plugin or the optimal settings. The authors were also asked us to use themes that are SEO-friendly, but do not tell how to determine a theme completely SEO-friendly or not.
  • PREPARING THE BLOG to be ready to fight in the arena of search engines.
  • OPTIMIZE BLOG to be liked by search engines.
  • ATTRACT INTEREST BLOG VISITORS to help the optimization process without them knowing our blog.
  • WRITE ARTICLES IN BLOG format favored by visitors and search engines.

Protect your WordPress Blog From Hackers

Senin, 24 Oktober 2011 - Diposting oleh Unknown di 19.36
Previously existing Web Protect from Hackers article that discusses how to protect the web from hacker attacks. More specifically this article discusses how to protect your WordPress blog from hacker attacks.
This article will be updated and added tips to protect your web.
  1. The less plugins that use the more secure your WordPress blog
  2. Always upgrade WordPress, plugins, and themes to the latest version
  3. Changing the WordPress admin username, use a username other than admin
  4. Replacing WordPress table prefix, use the table prefix other than wp_
  5. Do not use pirated plugins and themes as most have been infiltrated by a malicious script
  6. Remove all plugins and themes that have not been used
  7. Changing the WordPress admin password, cPanel, etc. on a regular basis, use a combination of alpha-numeric passwords
  8. Ensure that all 644 files and folders permissions 755. To file wp-config.php file permissions can be set to 444.
  9. Follow the instructions article Protect wp-config.php
  10. Follow the instructions articles Eliminate error messages
  11. Follow the instructions in the article Using Secret Key WordPress

Protect your wp-config.php in wordpress

Diposting oleh Unknown di 19.34
This article is part of a discussion Protect your WordPress blog. Here are described the steps to protect the WordPress configuration file from the hands of ignorant.
WordPress blogging application database MySql store information in your wp-config.php file, it makes the wp-config.php becomes the target of hackers. Information stored in this file is important:
  • database name
  • username database
  • password database
  • table prefix
If hackers get this information, wordpress site 100% will be broken.
Follow the directions below to protect the wp-config.php:
  1. open the file. htaccess (if not yet exist can be created manually) in the web directory wordpress
  2. Add the contents of the file. Htaccess with the following code:

    # protect wpconfig.php
    <files wp-config.php>
    order allow,deny
    deny from all
    </files>
Do not forget to set permissions on wp-config.php to 444

PHP Basics: String, Number & Constants

Minggu, 23 Oktober 2011 - Diposting oleh Unknown di 21.12
You will learn PHP variable of type String, Numbers (Numbers), string concatenation, format the numbers, how to define constants and use the constants in PHP. 

Strings 
String is a collection of characters, numbers, space, and others who are in quotation marks. Below it is a string:
  • January 2009 '9 '
  • '1 .000.000 '
  • "One million"
  • 'Learn PHP'
To create a string variable are as below:
$ Name = 'Jonthan Simon';
$ Activity = 'Learn PHP';
When creating a string variable you can use quotation marks around one or two quotes, which are important opening and closing the same. If you create a string with a single opening quotation mark the lid as well with a single quotation mark. So what if there are strings in the same character with the opening and closing for example, he says "I'm sleepy."? If you create a string like below:
$ Var = "he says" I'm sleepy. "" / / This is wrong;
then the error will occur. Writing is:
$ Var = "he says" I mengatuk "";
or may also like the following:
$ Var = 'he says "I'm sleepy." ';
To display the strings use echo () or print ():
echo $ var;
print $ date;
to display strings with the other context, use two quotation marks:
echo "Good morning, $ name";
to further deepen the understanding you do it the following example.
  1. Make a new document with your text editor and type the php script below:
    <?php #belajar string

    //membuat variabel string
    $nama="Jonathan Simon";
    $tgl_lahir='06 April 2008';
    $komen= "Always learning PHP";

    //menampilkan nilai dari variabel
    echo $nama;
    echo "<br>Tanggal lahir : $tgl_lahir";
    echo "<br>Komentar : <br>";
    echo $komen;
    ?>
  2. Save the document with the name strings.php and place it in the directory your web server. Then see the results by using your browser.
  3. If you do it correctly then it will be as follows:

Concatenating Strings

String concatenation is the addition operation on the strings, where the characters will be added at the end of strings. Concatenation operator is the dot (.), For example:
$ Path = 'Padma East Road no.14';
$ City = 'Kuta';
$ Address = $ path. $ City;
present value of the variable $ address is the 'Road East Padma no.14Kuta'. There is not a portrait of a clear address (usually 'Padma East Road no.14, Kuta')? therefore use the one below:
$ Address = $ path. ','. $ City;
present value of the variable $ address is the 'Padma East Road no.14, Kuta'. Concatenation works for strings and numbers, the code below will produce the same result, namely 'Padma East Road no.14, Kuta 80 361':
$ Address = $ path. ','. $ City. ' 80 361 ';
$ Address = $ path. ','. $ City. ' '. 80 361;
the result will be the same, the value of variable $ address is the 'Padma East Road no.14, Kuta 80 381'.

Numbers

The correct variable type numbers in PHP is as below:
  • 2008
  • 2.5
  • -1
  • 100 000
  • 4.2e2
numbers have never been in quotation marks, and there is also no commas to indicate thousands. Numbers are assumed positive unless preceded by a minus sign (-). For digunakn decimal point mark as the separator. All the standard arithmetic operators can be used on numbers.
OPERATOR FACTS
+ addition
- reduction
/ division
* multiplication
% modulus
+ + increment
- - decrement
There are many functions that can be used on the number, the most commonly used are the round () and number_format (). round () is used to round off numbers.
$ N = 2.25;
$ N = round ($ n); / / result is 2
round () can also be used to determine the number of decimal digits:
$ N = 10.34785;
$ N = round ($ n, 2); / / result 10:35;
number_format () is used to produce a number of commonly used formats, dividing the number in the thousands.
$ N = 10 280;
$ N = number_format ($ n); / / result is 10.280
also to determine the number of decimal digits:
$ N = 1250;
$ N = number_format ($ n, 2); / / result 1,250.00

Constants

Constants as well as a variable to store a value. The difference is a constant value can not be changed. To make the constants you can use the function define ().
define ('NAME', 'value');
the name of a constant is suggested to use a capital letter, although it does not have to. And the name of a constant is not preceded by a dollar sign. Constants can only be filled by a scalar, such as strings and numbers. Then how do I access the value of a constant? You can not access the value of a constant use of the following ways:
echo "Hello, USERNAME"; / / will not work.
This will result in Hello, USERNAME instead of USERNAME values ​​are shown. For that you can use the following ways:
echo "Hello,";
USERNAME echo;
or use the concatenation:
echo "Hello,". USERNAME;
to further clarify I'll give an example as follows:
  1. Make a new document with your text editor and make the following PHP script:
    <? Php # number and constant learning
    / / Create a variable number
    $ Juml_brg = 20;

    $ Price = 1057;
    / / Create a constant
    define ('DISCOUNT', 0:35); / / 50%
    / / CALCULATING THE RESULTS
    $ Total = $ juml_brg * $ price;

    $ Discount = $ total * DISCOUNT;
    $ Total_harga = $ total-discount;
    / / Display the results
    echo 'Number of items:'. $ juml_brg;

    echo "<br> Price per unit: $ price";
    echo '<BR> Total:'. number_format ($ total);
    echo "<br> Discount: $ discount (". (DISCOUNT * 100 ).'%)';
    echo '<br> Total Price:'. number_format ($ total_harga, 2);

    ?>


  2. Save the document with the name konstanta.php and place it on your web server directory. See the results through your browser.
  3. If you do it correctly then it will be as follows:


Similarly Basic PHP tutorial: String, Number and Constant, in this tutorial you have learned how to define a string, use the string in PHP, define and use variables of type number, and how to use the constants.

INSPIRATION

Diposting oleh Unknown di 18.37
A week after the death of Steve Jobs, many people still put a picture of this brilliant CEO of Apple company logo on "profile picture" them, such as facebook, twitter, and gadgets such as Blackberry. "These figures seem so hard to forget, he was so inspiring," as he says many people. We are inspired not only by work, but also a variety of speeches, and calls the principle expressed by it. How we are reminded that we need to use the time while still alive. We are also reminded to dialogue with yourself. Steve how to burn ourselves with a simple but meaningful slogan: "Stay Hungry, Stay Foolish". Here we can feel how much energy a person can affect so many people with his personal strength. We then wondered whether the people of the caliber of Steve Jobs is indeed difficult to find so that the scarcity was felt and have a major impact in our lives? 


Full of Passion obsession
People who can inspire others, you have the extra power. The 'speakers' who mentions themselves 'motivator' though, has not always been able to significantly change the lives of his hearers. An expert said that people like Martin Luther King who was able to persuade the black and white on the right, has an obsession that never left him. This obsession has been through rejection, doubt, even not rarely put individuals in jail. Which brought to mind the fruit everywhere and experiencing this ordeal left and right would by itself be a strong, loud, big, even noble, because paint the entire personal life and talks as well as 'sharing' we are in the association.People who can inspire others, also provide a picture of a better future, positive and bright. Oprah Winfrey, always obsessive about developing self-confidence of each individual, although individuals who experience any heavy trauma. Inspiring people to invite the community to realize the fact, opened his eyes wide, as well as giving reasons acceptable to remain optimistic. That's why we can not possibly succeed inspire others when what we say is not reflected in our personal lives. An expert said: "if you really want to inspire others to do something then this 'something' Should Be a big part of your life." 


Inspiration is the Quality of Life 
In working life, society and nation who never separated from various challenges and problems, it is clear we need somebody who can inspire to make changes and take action. Each individual could actually become an inspirational person, no need to wait for a position, so the leadership or waiting parents first. Young children who recently graduated from college and go on an "Indonesia Teaching", proved able to inspire not only the "younger" students, but teachers as well as people in the area for more advanced placement. Their movements were always made us thrilled and force us to think that we can give contributions to the progress of the nation. My mother, an ordinary housewife, managed to put a message the message, lifestyle as well as important principles in the life of her son, so as to sustain our lives in order to 'stay positive'. In our role as parents, relatives, employees, bosses have we ever thought how we could be useful to others and inspire others?To be able to inspire, the first thing we need to question ourselves is whether we are inspired by our own thoughts? Many people are more busy 'look out' to never think about whether he himself had lost interest of a principle, a certain vision and mission. We can commit to healthy living, run, affects the people around, giving information, help others through what we believe, so that finally our thoughts really paint ourselves. Only with an attitude of life and the harsh principles we can draw conclusions and deepen our faith. Living with the principle that causes us to have the experience around these principles, so that we can tell on matters of interest and can be held by the people around us. Everyone needs to strategy how to give 'input' to the people around him, while also ready to receive input, comments, and thoughts about the principles that echoed. Not difficult, is not it?

PHP Basics

Diposting oleh Unknown di 18.02
The initial step in building or developing dynamic websites with PHP and MYSQL is studying the fundamental basis of PHP itself. In this tutorial you will learn the basic - basic PHP, ranging from syntak PHP, variables, operators, constants and other basic PHP.

Basic Syntax
As previously described, to add PHP code into a page, you must menaruhya in PHP tag
<? PHP
?>
Everything that is placed inside the PHP tag will be executed by the web server as PHP code, and text outside the PHP tags will be immediately sent to the web browser as plain HTML. 

Sending Data to the Web Browser
 To create a dynamic website, you must know how to send data to a web browser. PHP provides many functions to do this, the most widely used are print () and echo (). To send a text "My name is PHP" to the web browser is very easy:
echo "My name is PHP"; or echo 'My name is PHP';
or you can use print ():
print "My name is PHP"; or print 'My name is PHP';
as you can see, the use of echo and print to send text / data to the browser is to put the text / data to be sent in two quotation marks "or single quotes' and ends with a point of Kome;. So what if the text is sent with a flag picking two or quotes one example, "Andi said," How are you? '"or" Andy's dog ";. There are two ways that you can use, the first if the text is sent containing the quotation marks two may be placed in quotation marks one such as:
echo "Andi said," How are you? " ';
if the text is sent contains a single quotation mark you can put them in quotation marks two such as:
echo "Andi's dog";
The second way is to use the backslash sign (escaped string) as follows:
echo "Andi said," How are you? '";
echo 'Andi's dog';

Write a Comment 

Like any other programming language, PHP can also be inserted with a comment to remind you about something. To write a comment in PHP there are three ways, the first is to use the sign #

# This is a comment
The second is to use 2 pieces of slash
/ / This comment
echo 'helo word'; / / say helo word
The third is enclosed in / * * /
/ * This is a comment
shape when * /
The third way can be used to write a comment more than one line. while one and two-way used to write a comment in one line. Comments will not be executed by the web server.

PHP Variables 

A variable is a place to store data temporarily. The value of a variable can be text, numbers or other data. PHP has 8 types of variables: boolean (true - false), integer, floating point (decimal), strings, arrays, object, resource, and null. The rules of writing in php variables are as follows:

  1. A variable must begin with a dollar sign $ instance, $ namaVariabel;
  2. The variable name can contain any combination of letters, numbers and underscore for example, $ customer_1;
  3. The first character after the dollar sign must be a letter or underscore, should not be numbers.
  4. variable names in PHP are case-sensitive, meaning that $ namaVariabel differ with $ Namevariabel.
Variable is filled values ​​(in-asign) with an equal sign = for example, $ name = 'Andi'. And variables can be displayed without the quotes such as:
echo $ name;
print $ name;
or it can be shown with two quotation marks:
echo "Hello, $ name";
you can not display variables with pertik mark one:
echo 'Helo, $ name'; / / this will not work, either.
to more clearly in the use of the variable will be given an example. Follow the steps below.
  1. Create a new document with your text editor.
  2. Create an opening php tag and the contents of a comment
    <? PHP # example of using variables
  3. create a variable with the following script:
    $ File = $ _SERVER ['SCRIPT_FILENAME'];

    $ _SERVER Is actually a variable that contains information about the server.
    the variable $ _SERVER ['SCRIPT_FILENAME'] contains the name of the script being executed, for example, C: xampphtdocsvariable.php. The script above is to create a new variable named $ file and populate a new variable $ file with the value of the variable $ _SERVER ['SCRIPT_FILENAME'].
  4. The second variable created with the script below:
    $ User = $ _SERVER ['HTTP_USER_AGENT'];

    $ _SERVER ['HTTP_USER_AGENT'] contains the value of a web browser and operating system used to access the script.
    The script above is to create a new variable with name $ user and fill in the variable $ user to the value of $ _SERVER ['HTTP_USER_AGENT'].
  5. type the script below to display the script that is being accessed:
    echo "<p> you run the script: <br> <b> $ file </ b> </ p>";
  6. create a script to display the information used Bowser:
    echo "You use the <p>: <br> <b> $ user </ b> </ p>";
  7. Complete PHP and HTML code:
    ?>

    </ Body>

    </ Html>

    The end result is as follows:

    <? PHP # example of using a variable

    / / First variable

    $ File = $ _SERVER ['SCRIPT_FILENAME'];


    / / Second variable

    $ User = $ _SERVER ['HTTP_USER_AGENT'];


    / / First variable manmpilkan

    echo "<p> you run the script: <br> <b> $ file </ b> </ p>";


    / / Display the second variable

    echo "You use the <p>: <br> <b> $ user </ b> </ p>";

    ?>


  8. Save with variabel.php name, place it in the directory of your web server and test using your browser. 
 

Grief again blanketed the World Motosport

Diposting oleh Unknown di 17.53
MotoGP  lost Marco Simoncelli who died tragically in action on the track racing. Various condolences spoken by the racers and athletes for the departure of Marco Simoncelli. The driver died from an accident at the Sepang Circuit on Sunday (23/10/2011). In a statement after the accident, Simoncelli declared dead at 16:56 local time (Malaysian time) due to serious injuries in the head, neck, and chest.
In the incident itself, Simoncelli helmet looks up regardless of the head. Perhaps it is the impact of the collision, but given the crucial a helmet to protect his head when unwanted things happen, like the incident, the question of safety arises.

 
 
Marco Simoncelli's death news reached the ears of the Ferrari team. The Italian car manufacturer saying condolence over the death of Simoncelli in the Sepang Circuit.
As is known, Simoncelli involved a serious accident with Colin Edwards and Valentino Rossi as he entered the bend turn 11 on the second lap. The incident made Simoncelli was unconscious in the middle of the track. Edwards hit the bike, until his helmet off.
Of course, the community mourned the passing Simoncelli Italy. After the Italian soccer league for Super Sic silence, turn the Ferrari team management who say condolences to him.
"In fact, such incidents and the tragedy that befell the drivers and Wheldon last week in Las Vegas in the incident in Indy Car, sport motorsport show, is at risk like this," he continued.
"No one knows the fate of people. Now, all the men and women in the Ferrari and everything on the Mugello Circuit, saying condolence over the death Simoncelli, to family, friends, and teammates," said Domenicali (Team Principal Ferrari).
This is the second tragic incident after the death of Daijiro Kato in 2003, it also makes the whole world mourned. Parties to the San Carlo Honda Gresini Simoncelli and their families so the hardest hit by this incident. Simoncelli's mother could only weep, while his father tried to brave and calm the mother.