Wordpress

From Free Hosting Wiki
(Difference between revisions)
Jump to: navigation, search
[unchecked revision][checked revision]
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Scripts
 
{{Scripts
| name      = Wordpress
+
| name      = WordPress
 
| image    = [[Image:Wordpress.png]]
 
| image    = [[Image:Wordpress.png]]
| caption  = The wordpress logo
+
| caption  = The WordPress logo
 
| type      = blog, CMS
 
| type      = blog, CMS
| version  = 3.0.1
+
| version  = 3.2
 
| level      = easy
 
| level      = easy
 
| cost        = free
 
| cost        = free
 
| license  = GPLv2
 
| license  = GPLv2
| site        = http://wordpress.org
+
| site        = http://WordPress.org
 
}}
 
}}
Wordpress is a widely used blogging platform. It's written in PHP and it's widely customizable with thousands of plugins and themes.
+
WordPress is a widely used blogging platform and, more recently, a CMS. It's written in PHP and it's widely customizable with thousands of plugins and themes.
  
 
== Installation ==
 
== Installation ==
First of all, you need to download the latest version of Wordpress from the [http://wordpress.org official site]. When that is done you have to extract the archive and upload the files using [[FTP]]. If you want to have your blog in the root of the domain, upload all files to public_html. If you rather have it in a folder, [[subdomain]] or an [[addon domain]], rename the folder of the extracted archive to something of your choice, like blog, and upload that folder to your public_html folder (make sure there isn't a folder in the folder, the php files etc should be visible when you go inside the "blog" folder). Point subdomains or addon domains to this folder.
+
First of all, you need to download the latest version of WordPress from the [http://WordPress.org official site]. When that is done you have to extract the archive and upload the files using [[FTP Details|FTP]]. If you want to have your blog in the root of the domain, upload all files to public_html. If you rather have it in a folder, subdomain or an addon domain, rename the folder of the extracted archive to something of your choice, like blog, and upload that folder to your public_html folder (make sure there isn't a folder in the folder, the php files etc should be visible when you go inside the "blog" folder). Point subdomains or addon domains to this folder.
  
Now when all the files has been uploaded, navigate to the files in your browser. You will be redirected to the Wordpress installation.
+
Now when all the files has been uploaded, navigate to the files in your browser. You will be redirected to the WordPress installation. Follow trough the steps, fill in your [[MySQL_Information|MySQL]] database information and other details it asks for. When this is done, you have your own blog!
 +
 
 +
== Plugins and themes ==
 +
There are lot of plugins, addons and themes for WordPress located on the WordPress site. When installing a plugin, you need to upload the files to the wp-content/plugins directory. Themes goes into the wp-content/themes directory.
 +
 
 +
== High Resource Usage ==
 +
Wordpress (WP) is a known CPU hog and with just a few plug-ins will cause an [[HRU]] suspension. A caching plug-in should help reduce WP's load on the server, but it may not be sufficient to prevent HRU suspensions, and on large sites will actually cause high resource usage during the cache generation.
 +
 
 +
There currently isn't a way of determining which WP plug-in(s) may have caused a suspension. If this happens to you more than once, you'll have to use trial and error to figure out which plug-ins you can run.
 +
 
 +
* First, note the maximum period that your site runs without getting suspended (e.g. 1 week).
 +
* Disable all the plug-ins but one,
 +
* Then re-enable others (starting with the most important) at twice the suspension period (e.g. fortnightly).
 +
* If your site gets suspended, disable the last enabled extension.
 +
 
 +
You can try to reduce the test period by running a load test on your site. Basically, find out your site's peak usage and use some tool to request pages on your site at double the peak frequency. If this doesn't cause an [[HRU]] suspension, you can enable more plug-ins and repeat the load test.
 +
 
 +
If you re-enable extensions more frequently, you can't be very sure that the last enabled extension is the most problematic and is thus the one to disable. Even with a long period between re-enabling extensions, your site still might get the occasional [[HRU]] suspension. If all else fails, you could try installing different blogging software. Check [[Softaculous]] in your site's [[cPanel]] for easy installation.  
 +
 
 +
== Tutorials & Related links ==
 +
* [[FTP Details]]
 +
* [[MySQL Information]]
 +
 
 +
== External links ==
 +
* [http://WordPress.org WordPress official site]
 +
* [http://WordPress.org/extend/ Plugins and themes]
 +
 
 +
[[Category:Scripts]]

Latest revision as of 13:23, 22 April 2012

WordPress
Wordpress.png

The WordPress logo

Type blog, CMS
Stable version 3.2
Installation level easy
Cost free
License GPLv2
Site http://WordPress.org


WordPress is a widely used blogging platform and, more recently, a CMS. It's written in PHP and it's widely customizable with thousands of plugins and themes.

Contents

[edit] Installation

First of all, you need to download the latest version of WordPress from the official site. When that is done you have to extract the archive and upload the files using FTP. If you want to have your blog in the root of the domain, upload all files to public_html. If you rather have it in a folder, subdomain or an addon domain, rename the folder of the extracted archive to something of your choice, like blog, and upload that folder to your public_html folder (make sure there isn't a folder in the folder, the php files etc should be visible when you go inside the "blog" folder). Point subdomains or addon domains to this folder.

Now when all the files has been uploaded, navigate to the files in your browser. You will be redirected to the WordPress installation. Follow trough the steps, fill in your MySQL database information and other details it asks for. When this is done, you have your own blog!

[edit] Plugins and themes

There are lot of plugins, addons and themes for WordPress located on the WordPress site. When installing a plugin, you need to upload the files to the wp-content/plugins directory. Themes goes into the wp-content/themes directory.

[edit] High Resource Usage

Wordpress (WP) is a known CPU hog and with just a few plug-ins will cause an HRU suspension. A caching plug-in should help reduce WP's load on the server, but it may not be sufficient to prevent HRU suspensions, and on large sites will actually cause high resource usage during the cache generation.

There currently isn't a way of determining which WP plug-in(s) may have caused a suspension. If this happens to you more than once, you'll have to use trial and error to figure out which plug-ins you can run.

  • First, note the maximum period that your site runs without getting suspended (e.g. 1 week).
  • Disable all the plug-ins but one,
  • Then re-enable others (starting with the most important) at twice the suspension period (e.g. fortnightly).
  • If your site gets suspended, disable the last enabled extension.

You can try to reduce the test period by running a load test on your site. Basically, find out your site's peak usage and use some tool to request pages on your site at double the peak frequency. If this doesn't cause an HRU suspension, you can enable more plug-ins and repeat the load test.

If you re-enable extensions more frequently, you can't be very sure that the last enabled extension is the most problematic and is thus the one to disable. Even with a long period between re-enabling extensions, your site still might get the occasional HRU suspension. If all else fails, you could try installing different blogging software. Check Softaculous in your site's cPanel for easy installation.

[edit] Tutorials & Related links

[edit] External links

Personal tools
Namespaces

Variants
Actions