Prevent Malicious Bots/Spiders From Accessing Your Site Using .htaccess
Last Updated on Saturday, 18 May 2013 10:44 Written by Khaleel Demeri Sunday, 19 May 2013 12:00
There are various types of bots and spiders that transverse sites for different reasons. Among them activities such as email harvesting and other malicious activity. By using a .htaccess file, you can block the majority of well know malicious bots.
Bad bots typically ignore the wishes of your robots.txt file, so you’ll want to ban them using means such as .htaccess. The trick is to identify a bad bot. Below is a useful code block you can insert into .htaccess file for blocking a lot of the known bad bots and site rippers currently out there.
Learn MoreHow to Create a “Log Out” Script Based on Cookies with PHP
Last Updated on Wednesday, 15 May 2013 01:48 Written by Richi González Friday, 17 May 2013 12:00
Hello,
Today you will learn how to create a log out script in PHP. This applies only for those authentication systems that are based on cookie existence and evaluation. The article will cover the steps that are to be followed when the log in script sets for example a hash cookie and then does some evaluations to corroborate that the user is logged in.
Learn MoreURL Redirection Without Changing the Address in the Address Bar
Last Updated on Wednesday, 15 May 2013 01:48 Written by Khaleel Demeri Friday, 17 May 2013 12:00
Sometimes we want to redirect to a specific URL but keep the same address without any changes. As an example, we may need to redirect www.domain.com to www.domain.com/subdirectory . To do this you simply need to:
1) Create html file on your current directory (www.domain.com root directory) and set it as the website default page.
2) Place the following html code in it:
Learn MoreHow to Add a Favicon to a Web Site
Last Updated on Saturday, 11 May 2013 06:14 Written by David Bauernschmidt Thursday, 16 May 2013 12:00
Branding a site can include a wide range of initiatives. Some can take a large amount of time and energy (graphic designs, target marketing, etc.) while others can take just a few minutes. Today, I am going to show you a way to add branding to your site without paying a dime and take less than 15 minutes. You don’t need to pay anyone and can do this completely online for free. The only requirement is that you have a company image. When you get this then follow the steps below.
Go to a site that will allow you to upload your image and tweak the image like
Learn MoreWhen Should You Use a Reset CSS Sheet
Last Updated on Saturday, 27 April 2013 09:22 Written by David Bauernschmidt Tuesday, 30 April 2013 12:00
It is amazing to me how many times people build web sites and start to create the style sheets and such only to find out that something quirky happens depending upon the browser you are using. What if I told you that it might not have anything to do with your styles?
Learn More
Recent Comments