Search Engine Optimization | Internet Marketing | Webmastering Blog

How To Configure exim4 on Debian

sudo vi hosts localhost {server ip address} www sudo vi hostname hostname -f sudo vi /etc/mailname apt-get install exim4 dpkg-reconfigure exim4-config (the following setup for Google mail server) Hide local mail name in outgoing mail? No Split configuration into small files? Yes sudo vi /etc/exim4/update-exim4.conf.conf dc_eximconfig_configtype=’smarthost’ dc_other_hostnames=’localhost;’ dc_local_interfaces=’′ dc_readhost=” dc_relay_domains=” dc_minimaldns=’false’ dc_relay_nets=” dc_smarthost=’′ CFILEMODE=’644′ dc_use_split_config=’true’ dc_hide_mailname=’false’...

Padre Still Crashes on Debian Linux

The linked post was written in 2012 explaining what I think most users of Padre encounter, and therefore I won’t repeat anything already nicely documented there except to quote “And please do not feed me a junk line about it works on my Linux distribution, I do not care. Pretend I am a normal end user for a moment. If...

Force WordPress SSL HTTPS on Only One Page

RewriteEngine On Options -Indexes Options +FollowSymLinks RewriteBase / # force https for all URLs matching “subscribe.* # otherwise normal http request are unmolested # other methods that force ssl cause 301 redirects on # all pages RewriteCond %{HTTPS} =off RewriteRule ^subscribe https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ## standard rule but causes redirect loops #RewriteRule . /index.php [L]...

USB Linux Wipe Format Ext2 Filesystem

Find the correct device fdisk -l Unmount the device unmount /dev/sdc Wipe the device (handles bad blocks too) dd if=/dev/zero of=/dev/sdc bs=4k Format device mke2fs /dev/sdc1 Make a mount point mkdir /mnt/memstick Mount the device mount /dev/sdc1 /mnt/memstick

WordPress Draft Crawl by Baiduspider

An interesting log in Apache hosts log (below) surprised me. I saw this URL crawl attempt by what is supposed to be Baidu – I checked – it was. What is so surprising is that the URL is a sentence of a DRAFT I was working on at the moment (screenshot below – notice the draft status bottom right). This...

Find and Kill All Processes One Liner

Brilliant – where you need it – like when you accidentally try to open 8000 html files at once with your browser. sudo kill $(ps aux | grep ‘iceweasel’ | awk ‘{print $2}’) credit for Find and Kill All Processes One Liner – bash using grep and awk

Google Search Parameters Cheatsheet & &as_eq=DO+NOT+include+these &prmd=u Turn off personalization &pws=0 Turn off autocomplete &complete=0 Return 30 results per page &num=30 Limit results by country &cr=countryUS &cr=countryDE Specify Language &lang_en – English &lang_de – Deutsch Simulate Button &btnG=Search Disable ads (simulation so that impressions are not counted, links disabled) &adtest=on Find related sites &

Perl error for LWP::Protocol::https

Problem with HTTPS in Perl When you see any of the below error messages, the solution is sudo apt-get install libssl-dev Error >> openssl-version.c:2:30: fatal error: openssl/opensslv.h: No such file or directory Error >> Warning: Prerequisite ‘Net::SSLeay => 1.46’ for ‘SULLR/IO-Socket-SSL-2.012.tar.gz’ failed when processing ‘MIKEM/Net-SSLeay-1.68.tar.gz’ with ‘make => NO’. Continuing, but chances to succeed are limited. Error >> t/connectSSL-timeout.t …………...

How To Fix a missing eth0 adapter after moving HDD from one machine to another

Debian/Ubuntu Linux : How To Fix a missing eth0 adapter after moving HDD from one machine to another. Explanation : Debian and Ubuntu write the MAC address of the ethernet adapter to a file that prevents the eth card in the new machine from being recognized. Delete the lines in this persistent-net.rules file and upon reboot, linux will see the...

How To Create and Embed an Email Link

<a href=” Notice&body=Hi Simone, I’m arriving in less than 48 hours.”>Email Me</a> optional are (?) subject=Short Notice body=Hi Simone, I’m arriving in less than 48 hours. Minimum <a href=””>Email Me</a>