Category Archives: Internet

My Wireless Network Doesn’t Work When the Baby is Sleeping

Having a baby could affect your wireless communication?

Yes. Well, indirectly yes. Who has a baby and a wireless network will most likely have a baby monitor. We all like to spend our time blogging, or browsing the Internet while the baby is asleep, but we couldn’t blog a word if we didn’t keep an eye on the baby.

Many baby monitors will interfere with wireless networks. The wireless connection will work for most of the time and then suddenly it will stop working; after a wile will resume functioning properly. It could work without interruption but slow down transfer rates as network error corrections will be needed more than regularly.

How TO Eliminate Interference Between Baby Monitors and Wireless Networks?

Make sure you verify the band used by the baby monitor is not overlapping with the wireless band. If it does, you can change the channel on your Baby Monitor. How do you know if it overlaps? Read the instructions manual, and if you don’t have it, just try different channels on your baby monitor until you get a stable connection on your Network.
Another option would be to change the channel used by your wireless access point. If you have an old baby monitor consider buying a newer model, the newer models have less interference with your WiFi Network. I know that this sounds so un-green and consumerist, but I tested this and newer and more expensive models are better protected to interferences.
[ad#Adsense Text 468 wide]

Is your Toddler Curious about the Little Box on the Wall?

If your child is a toddler he’ll be very curious about the different devices hanging around in your office and he will find your wireless AP. They will try, whenever they have the chance, to press any buttons and pull all the cables. Make sure, when your connection goes off, to check all the connections to the access point and to the modem. Consider to move your devices where your child cannot reach them.

Preventing Domain Name Spam

What is domain name spam?
Domain Name Spam is a spamming technique where the sender only knows the domain name and he doesn’t have any valid email address in the domain. The technique involves sending emails to all the possible combinations or to a nicely crafted dictionary. The most common addresses in such a dictionary are:
• info@
• mail@
• sales@
• contact@
• contacts@
• root@
• help@
• home@
• contactus@
• enquiries@
• webmaster@
• hr
• shipping
The generic list is actually very long but I won’t include here all of the addresses.
Other possible entries in the dictionary are common names and different combination of these names. Let’s take for instance the name John Doe. A few possible combinations and the most used are: john.doe@company.com, j.doe@company.com, john.d@company.com, johndoe@company.com, etc…
What can you do to discourage and stop this kind of spam?
Set up your email server so it will not accept too many emails from the same server within a specified time frame.
Do not send NDR for unknown recipients, this will inform the attacker about the invalidity of those addresses, this is good information for a spammer. The disadvantage with this is that misspells of an address from a legitimate sender will not inform them about the error.

Use less commonly used prefixes for your email addresses.
Instead of “info@yoursite.com” use “askaquestion@yoursite.com”.
Instead of “webmaster@yoursite.com” use “yourname@yoursite.com”.
Instead of “help@yoursite.com” use “problem@yoursite.com”.
You do want to still keep your email addresses professional and to make sense to your customers. An email address like Egfa13wge2@yoursite.com will fool domain name spammers, but customers will be tempted to delete the email when they see such an email address in the “To” field of their email.
Also, don’t forget that many domain name spammers hope you have your catch-all turned on. This means that even sending an email to “any-address@yoursite.com” will end up in the admin’s mailbox even if that email address doesn’t exist. Unless you have a need for your catch-all to be turned on, you should have it turned off by default.

How to use 301 Redirect for moved or missing pages

What is 301 redirect?

301 redirect is a method of redirecting pages on your website to other pages on your site or elsewhere.

Why would you need to redirect content?

It is a method to retain search engine rankings for a page. If a page has previously been ranked by search engines and you changed the file name during a major redesign, or moved some of the content to another website the ranking is lost if you just move the page. If instead you do a 301 redirection the old ranking will be passed on to the new page.
Another use is to redirect traffic for deleted content somewhere on your website so that the traffic is not lost. Sometimes you need to remove outdated content and since you are still receiving traffic for those pages you would like to keep those visits.

What means a 301 Redirection?

301 redirect means “moved permanently”. When a search engine accesses a file marked as “Moved Permanently” it will note the new address and consider the new location as the valid one, passing on the ranking for the new page.

How to do a 301 Redirection

Apache 301 Redirection
Look for the .htacces file on the root of your website’s directory.
If there isn’t one create it. On Windows you might have difficulties to create a file with an empty name and only the extension. But once the file created, for instance on the host operating system you can edit the file using notepad or wordpad.
The simplest method is to place the following line into your .htaccess file:
redirect 301 /old-directory/old.htm http://www.mywebsite.com/new.htm
Don’t add the whole address on the first part, (the www) as the server uses its root directory as the referral point and not the http address.
Copy paste the statement below and modify it to reflect your needed redirection.
Upload the file on the server or overwrite the old file if you use direct access.
Test the redirection.

What if you want to redirect all of your files to another address? Fortunately you don’t need to add a redirect for each of your files. You can use the Apache’s URL Rewriting Engine module, which can handle complex redirections using regular expressions.

Redirect for a Moved Website

A rule that will redirect ALL of the files on your web server to another address:
redirectMatch 301 ^(.*)$ http://www.domain.com

A rule that will redirect http://mywebsite.com to http://www.mywebsite.com for SEO purposes:
RewriteCond %{HTTP_HOST} ^mywebsite\.com
RewriteRule ^(.*)$ http://www.mywebsite.com/$1 [R=permanent,L]

Redirect to a Different File Extension

A rule to redirect your .htm pages to .php pages:
RewriteBase /
RewriteRule (.*).htm$ /$1.php

Redirect an Entire Directory

Redirect An Entire Directory/Folder to a single page. You got rid of the old content and you want to keep your visitors and keep the ranking of your old pages.
RewriteBase /
RewriteRule ^old-directory/(.*) http://www.mywebsite.com/new-directory/ [R=301,L]

You moved content in another folder or on another webpage and you would like to redirect visitors to exactly the same page at the new address.
Another use of this, is if your test site got indexed by search engines and is ranking better or the same as the regular website. It happened to me… Somehow my robots file got overwriten
RewriteBase /
RewriteRule ^old-directory/(.*) http://www.mywebsite.com/new-directory/$1 [R=301,L]

Redirection Troubleshooting

Make sure that you leave a single space between the different elements of the statement.
Make sure you have “RewriteEngine on” on your .htaccess file, without it your rules will not function.
Regex Tip:
The content between the round brackets is kept in memory and called when needed with the syntax $1 for the content of the first bracket, $2 for the content of the second bracket, etc.

What if I don’t have an Apache server? I use IIS.
The alternative for IIS is ISAPI_Rewrite for IIS. ISAPI_Rewrite gives you all the nice features that you have with Mod_Rewrite.

More on the Rewriting Engine module and the regex here:
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html