Wordpress

Auto Update WordPress Without FTP

upgrade plugins without ftp credentials.

wp-config.php:
define('FS_METHOD','direct');

By WladyX on 27 August, 2010 | Apache, General, Wordpress | A comment?

Maintaining WordPress Installations

#!/bin/bash
# wp-update.sh
# update wordpress installation(s) to $1 branch
#
# this script takes the new branch as an argument


DOMAINS="domain1.tld \
domain2.tld \
domain3.tld"

if [ $# -ne 1 ]; then
echo "EPIC FAIL: Missing new version!"
echo "Try: ./wp-upgrade x.x.x (ie; 2.7.1)
exit 1
fi

for site in ${DOMAINS}; do
echo "upgrading ${site}"
echo
cd /var/www/${site}/
svn sw http://core.svn.wordpress.org/tags/$1/ .
done

./wp-update.sh 2.7.3

source

By WladyX on 30 June, 2010 | Scripts, Wordpress | A comment?

Mystique Blog Description font spacing

Mystique settings:
User CSS:
#site-title p.headline{ letter-spacing:0em; }

By WladyX on 4 January, 2010 | General, Wordpress | A comment?

Administration Over SSL

wp-config.php:

define(‘FORCE_SSL_ADMIN’, true);

http://codex.wordpress.org/Administration_Over_SSL

By WladyX on 12 November, 2009 | General, Wordpress | A comment?

Howto: Create a page tab for a category in WordPress

By WladyX on 26 October, 2009 | General, Wordpress | A comment?

WordPress SVN

New Install:

$ mkdir blog
$ cd blog
$ svn co http://core.svn.wordpress.org/tags/3.0 .

Updating to a New Stable Version:

$ cd blog
$ svn sw http://core.svn.wordpress.org/tags/3.0/ .

Relocating from the old svn.automattic.com repository

$ svn switch --relocate http://svn.automattic.com/wordpress/tags/2.7.1 http://core.svn.wordpress.org/tags/2.7.1/

Installing/Updating WordPress with Subversion « WordPress Codex

By WladyX on 25 October, 2008 | General, Wordpress | A comment?

Convert WordPress database from Latin1 to UTF-8

$ mysqldump –default-character-set=latin1 –databases wordpress > m.sql

$ replace “CHARSET=latin1″ “CHARSET=utf8″ \
“SET NAMES latin1″ “SET NAMES utf8″ < m.sql > m2.sql

$ mysql < m2.sql

wp-config.php:
define(‘DB_CHARSET’, ‘utf8′);
define(‘DB_COLLATE’, ”);

atppp’s Blog » Convert WordPress database from Latin1 to UTF-8

By WladyX on 30 June, 2008 | Mysql, Wordpress | A comment?

WordPress Debian

bash /usr/share/doc/wordpress/examples/setup-mysql -n wp_mortiablog blog.mortia.org.uk

Andy » Adding a new WordPress blog to a Debian install

By WladyX on 20 May, 2008 | Ubuntu, Wordpress | A comment?

WordPress Wp-content Folder

<Directory “/var/www/wladyx.wxs.ro/wp-content”>
Options -Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>

By WladyX on 13 March, 2008 | Wordpress | A comment?