WordPress : HTTP Weiterleitung auf HTTPS (301 redirect) via .htaccess

Worum geht es bei HTTPS / SSL / TLS? SSL (Secure Sockets Layer) oder zwischenzeitlich besser und korrekter TLS (Transport Layer Security) , ist ein Verschlüsselungsprotokoll zur sicheren Datenübertragung zwischen zwei Punkten im Internet. TLS Verschlüsselung wird heutzutage vorrangig bei der Benutzung eines Browsers (HTTPS in URL)  eingesetzt, um die Daten zwischen Surfer und Server … Read more

Redirect the robots.txt in a multiple Domain used server path

In Order to use multiple domains on the same server path one solution is, to modify the apache mod_rewrite module and the .htaccess. Add the following code to your .htaccess: RewriteCond %{HTTP_HOST} domainA.com RewriteRule ^robots.txt$ /robots-domainA.txt [L] RewriteCond %{HTTP_HOST} domainB.com RewriteRule ^robots.txt$ /robots-domainB.txt [L]

HowTo: Tune your wordpress – these .htaccess tricks speed up your website!

Google PageSpeed Insights told you, that your wordpress website is too slow? Need better performance? These .htaccess settings for your apache speed up your website! What you have to do is simply tune up your htaccess, inject gzip and discard ballast. Gzip and Deflate Compression shrink overweight pounds of the website, as well as serve … Read more

Howto: Show and install php extensions on Ubuntu/Debian

You may review the available PHP extensions on your Debian/Ubuntu system by tipping in: apt-cache search php|egrep ^php5- your output on a standard Ubuntu/Debian could looks like this: # apt-cache search php|egrep ^php5- php5-cgi – server-side, HTML-embedded scripting language (CGI binary) php5-cli – command-line interpreter for the php5 scripting language php5-common – Common files for … Read more

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