How to size up PHP Upload Maximum via .htaccess

How to size up PHP Upload Maximum via .htaccess is pretty easy. This is very usefull for example if you run into your wordpress foto upload limit. Just add the following code to your .htaccess file in the web directory. (In this case up to 40 Megabyte) php_value post_max_size 40M php_value upload_max_filesize 40M the corresponding … Read more

howto: .htaccess redirect to www

In order to redirect all non-www subdomains to your www domain, all you need to do is editing your .htaccess file. I’ll show you how, its pretty easy: If you want to redirect all non-www requests to your site to the www version, add the following code to your .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} … Read more

WordPress: Moving Domain of a Worpdress Site – using SQL

Moving a wordpress installation to another Domain the “easiest” way: Use SQL statements! If you move your wordpress for example from a development server to a life/customer installation you first need to compress/zip your installation and put it to the destination server. Backup your database (you may use the mysqldump command) and put the installation … Read more

DNS Update does not work – how to flush your windows/linux client

When transfering a Domain to a new Server or reconfiguring the IP of the Domain DNS entries of a Domain you are facing the problem, that you have to wait that the new DNS entry is being changed and spread on all DNS Servers. Some operating system will not “obey” the DNS standards and will … Read more

Shell Script: Backup and gzip mysql databases for linux systems

This is a quite helpful script to backup your mysql databases. All databases are automaticly gzipped and named like this DATABASENAME.yyyymmdd.gzip. You may execute it as cronjob every night for example.   #!/bin/sh # BACKUP_DIR=${1:-/backups/mysql} # Directory to save backups EXPIRETIME=10 DATE=`date “+%Y%m%d”` # check if directory exists if [ ! -d $BACKUP_DIR ]; … Read more

WordPress: Increase Upload Limit in WordPress

It’s pretty easy to increase the upload limit in wordpress. Use .htaccess increase the upload limit in wordpress Go into the web root of your wordpress installation. Create a file named “.htaccess”. Usually there already is one – edit it in this case. You need two line in there: php_value upload_max_filesize 10M php_value post_max_size 10M … Read more

WordPress: Deutsche Sprache im WordPress einstellen

Eine leichte Sache in 3 Schritte: Sprachdateien unter runterladen. Zip Datei in /wp-content/languages entpacken. Ggfs. muss das Verzeichnis languages dazu noch angelegt werden. SSH User müssen ggfs. noch den Dateibesitzer mit chown auf den Apache User einstellen. (bspw. wwwrun:www bei Suse oder www-data:www-data bei Ubuntu Standard Installationen) In der wp-config.php muss define(‘WPLANG’, ‘de_DE’); eingetragen … Read more

Tutorial / HowTo: Linux Version anzeigen – Die Befehle uname & cat /proc/version

Zum Anzeigen der Linux Kernel Version gibt es mehrere Möglichkeiten, entweder per uname, per cat /proc/version oder bei Ubuntu auch mit lsb_release -a. Linux Befehl uname xxxxxx:/srv/backup # uname -a Linux xxxxxx #1 SMP Mon Mar 16 05:01:00 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux Linux Befehl cat /proc/version Auch weitere Informationen sind hier enthalten, … Read more