Difference between revisions of "Wordpress"
Jump to navigation
Jump to search
m (→OpenID) |
m (→Installation) |
||
Line 17: | Line 17: | ||
</IfModule> |
</IfModule> |
||
</pre> |
</pre> |
||
− | |||
− | To add Piwik to Wordpress, see [[Piwik#Wordpress|here]] |
||
==Plugins== |
==Plugins== |
Revision as of 23:24, 25 April 2008
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>
Plugins
Piwik
Install the following plugin
Then go to admin settings -> Google Analytics and copy-paste the code from Piwik
OpenID
install this plugin
If you have already the package php-openid, then you've to disable the one of the plugin:
rm -rf /usr/share/wordpress/wp-content/plugins/openid/Auth
Client
ScribeFire is a very nice plugin for Firefox to write blogs easily