12 Quick Home Repairs | Life Skills | 12 : RealSimple.com
Whitening Bathtub StainsProblem: Stained tub.
Solution: Combine equal amounts of cream of tartar and baking soda with enough lemon juice to make a paste. Rub the mixture into the stain with your fingers or a soft cloth. Let sit for a half hour, then rinse well with water.
Powered by ScribeFire.
How to handle Googlebot during site downtimeThis week one of my clients was carrying out some web design work that required part of the site to be taken offline for several hours.
Google normally spiders the site quite a lot so the client didn’t want to mess up any rankings during the downtime.
The best way to manage this according to Google is to give spiders a 503 (Service unavailable) header code when they visit. This tells search engines that the problem is temporary and they will come back another time.
Serving the error message is easy if its just a static php page and you can even choose the number of seconds Google should wait before coming back.
Add a nice error message here
However sometimes you need to apply the code to all pages in the site, in this case you need to add this code to your .htaccess file
Options +FollowSymLinks
RewriteEngine On
RewriteBase /RewriteCond %{HTTP_USER_AGENT} ^.*google.* [NC]
RewriteRule .* /errorpage.phpYou should make sure your error page is giving the 503 header as shown in the php snippet above and most importantly test your code as soon as it goes live to check for problems.
0 Responses to “Whitening Bathtub Stains Problem”