You probably know, installing WordPress is quite easy. In fact, the only reason that the install should take that long is because uploading the files sometimes takes time due to slow Internet connections or sluggish Web hosts. First, you need to make sure that your system meets the minimum requirements. The most recent ones can be found here. If your host supports PHP 4.3 or higher, and runs MySQL 4.0 or higher, then you’re good. Probably now majority of web host using higher version of PHP and MySQL,so there is no problem at all.However, you should make sure your host has mod_rewrite installed since that will be needed for prettier links.Mod_rewrite is something like this:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Make or copy the code above in your notepad and save as txt then change it without a file name with extension .htaccess.This file quite useful for you to do some action bellow for example
Increase the memory limit via .htaccess (e.g. php_value memory_limit 64M) Increase the setting values via .htaccess (e.g. php_value upload_max_filesize 64M and php_value post_max_size = 64M) (all if supported by your web host provider)
Now to install, you’ll need the following:
■ To download the most recent version of WordPress (from wordpress.org/download/).
■ A MySQL database with a user that has write privileges (ask your host if you don’t know how to set this up).
■ Your favorite FTP program (FileZila or any other FTP sofware,FireFTP add-on for Firefox)
To install, unzip your WordPress download and upload the contents of the wordpress folder to your destination of choice on your server. Then, open wp-config-sample.php and find the database parts where you fi ll out the database name, and the username and password with write privileges. This is what wp-config-sample.php looks like:
define('DB_NAME', 'putyourdbnamehere'); // The name of the databasedefine('DB_USER', 'usernamehere'); // Your MySQL usernamedefine('DB_PASSWORD', 'yourpasswordhere'); // ...and passworddefine('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
Next, still in wp-config-sample.php, f nd the part about Secret Keys. This part will start with a commented information text titled “Authentication Unique Keys” followed by four lines (as of writing) where you’ll enter the Secret Keys. This is a security function to help make your install more secure and less prone to hacking. You’ll only need to add these keys once,and while they can be entered manually and be whatever you like, there is an online generator courtesy of wordpress.org that gives you random strings with each load. Just copy the link api.wordpress.org/secret-key/1.1/ to the generator from your wp-config-sample.php file and open it in your favorite Web browser. You’ll get a page containing code looking something like this:
define('AUTH_KEY', 'PSmO59sFXB*XDwQ!<uj)h=vv#Kle')dBE0M:0oBzj'V(qd0.nP2|BT~T$a(;6-&!');define('SECURE_AUTH_KEY', 'o>p3K{TD.tJoM74.Oy5?B@=dF_lcmlB6jm6D|gXnlJ#Z4K,M>E;[ +,22O?Lnarb');define('LOGGED_IN_KEY', 'c}gR{389F*IG@/V+hg1 45J*H+9i_^HaF;$q(S[5Er[:DVOUjmS@(20E~t0-C*II');define('NONCE_KEY', 'gz2D:n52|5wRvh)es:8OO|O ufZL@C|G.-w/H-E*}K:ygp4wI*.QHO-mUV_PR|6M');
Copy the contents from the generator page and replace the code shown below in wp-confi g-sample.php with them:
define('AUTH_KEY', '');
define('SECURE_AUTH_KEY', '');
define('LOGGED_IN_KEY', '');
define('NONCE_KEY', '');By replacing the code above with the one from the generated page, you’ve made your install a little bit more secure from hackers.
The last thing you may want to change in wp-config-sample.php is the language. WordPress is in English (US English to be exact) by default, and if you’re Swedish you would naturally want the default language to be Swedish, if you’re German you would want German, and so on. To change the language, you’ll need a language fi le (these are .mo files; most of them can be found here: codex.wordpress.org/WordPress_in_Your_Language
that you then upload to wp-content/language/. You also need to alter this little snippet in wp-config-sample.php to let WordPress know what language you want it to be in:
define ('WPLANG', '');What you need to do is add the language code: this is the same as the language file, without the file extension. So if you really did want your install in Swedish, you’d download the sv_SE.mo, upload it to wp-content/languages/, and then pass the language to the WPLANG function, like this:
define ('WPLANG', 'sv_SE');This won’t necessarily make the themes or plugins you use display in your language of choice, but WordPress and its core functionality will, as will any code that supports it.But now WordPress supports many languages ,so this is no bother at all.You can choose any language as you wish.
And that’s it! Rename wp-config-sample.php to wp-config.php, and point your Web browser to your install location. This will show a link that initiates the install procedure, where you’ll fill in the blog title, the admin user’s e-mail address, and choose whether or not the blog should be open to search engines for indexing (most likely this will be the case, but if you want to fiddle with it first,then disable it; you can enable it in the settings later). After this, you’ll get an admin username and a random password (save that!) and hopefully a success message along with a link to the blog.Not very complicated, right?
Some Web hosts off er installers that will get your WordPress install up and running with just a click from within the Web host admin interface. Th e most popular one is probably Fantastico. At first,this sounds like a really good idea, since you won’t have to fiddle with config files or anything; it’ll just slap the blog up there and you can get started.
However, take a moment to do some research before going down this route. The most important aspect to consider is what version of WordPress the installer is actually setting up. Old versions shouldn’t be allowed because they are outdated and, at worst, a security hazard. Aft er all, with every WordPress release a lot of security holes are jammed shut, so it is not all about releasing funky new features for your favorite blogging platform.Installers like Fantastico are great and can save time. However, if they don’t install the latest version of WordPress you really shouldn’t bother with them at all. If they do, then Google it just to make sure other users haven’t reported anything weird going on, and if the coast is clear and you really don’t want to do the fi ve-minute manual install, then by all means worth to try.
After having installed WordPress using an installer you should use the built-in upgrade feature, or perform upgrades manually using FTP should your host not support automatic upgrades. Make sure the installer doesn’t do something strange with the install that stops you from doing this: you don’t want to be tied to the installer script for updates.
More from this topic...
- Block Websites
- Minimalist makes site load faster?
- Top recommended web hosting provider for wordpress
- Creating Custom Taxonomies
- Hacking WordPress Core – Why You Shouldn't Do it?
- Setting Best Permalink For WordPress
- Move Blog To Another Hosting
- Saving Bandwitch
- Make WordPress more secure
- WordPress Comment Autoresponder Plugin
- Charming WordPress Themes From Charmingwp
- Web Design Basic Tips
