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} RewriteRule ^robots.txt$ /robots-domainA.txt [L] RewriteCond %{HTTP_HOST} RewriteRule ^robots.txt$ /robots-domainB.txt [L]

Block google to read your contact site – Meta Tag robots noindex

in Order to block crawlers of the search engines like google from reading and indexing sites of your wordpress installation you may use the slug. If you want to block the site for example you put the following code into your header: <?php if (is_page(‘impressum’)):?><meta name=”robots” content=”noindex ” /><?php endif;?> if you use your … Read more

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

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

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