Wordpress

From YobiWiki
Revision as of 21:05, 25 April 2008 by <bdi>PhilippeTeuwen</bdi> (talk | contribs) (New page: ==Installation== apt-get install wordpress Setup apache to point to /usr/share/wordpress. <br>See the /usr/share/doc/wordpress/examples/apache.conf <br>Database setup can be done with th...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installation

apt-get install wordpress

Setup apache to point to /usr/share/wordpress.
See the /usr/share/doc/wordpress/examples/apache.conf
Database setup can be done with the help of a script in /usr/share/doc/wordpress/examples/setup-mysql

bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress <my.blog.site>


It's a bit more tricky if your mysql server is not localhost, you can make a copy of the script and make some adjustments and/or create the DB and user manually

To get nicer URLs (e.g. <my.blog>/2008/04/mypost), add this to /etc/wordpress/htaccess:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

To add Piwik to Wordpress, see here

Client

ScribeFire is a very nice plugin for Firefox to write blogs easily