web-programming Posts
Page 3 of 6 • 52 total posts
-
Use .htaccess to Block a Country
There are occasions when you need to do some serious blocking on your website, and you have to block an entire country. I have helped people in the past block countries like China from accessing their website. While there can be many reasons why you would want to block en ...
-
Using .htaccess to Block Comment Spam
When I checked my blog on Saturday I had a large amount of comment spam that had been caught by Akismet, larger than usual for my little place on the web. Browsing through it briefly, I quickly noticed a common thread, they were all from the same IP address. I ...
-
Custom 404 Page using .htaccess
Mike posted a good question on my earlier post on how to Disable Indexes using .htaccess. Is there a way to specify what page to redirect to if there is a 404? Currently it’s displaying one created by my web hosting company, which I would prefer to get rid of. If ...
-
RSS Feed Scraper
It appears that I have a fan, ok maybe not a fan. I have a website scraper that is just not smart enough to actually read the content they are scraping so they are getting my nice RSS feed additional content and posting it in the site. They have many ...
-
Disable Indexes using .htaccess
I have several personal websites on a shared server where indexes are turned on by default in Apache. That is simply annoying, because I hate having stray empty index.html files sitting all over the place. I suppose I could just leave the indexes on but I dislike the idea of ...
-
CSS List Menu Resources
I like to make my CSS menus from scratch, but if you want to save yourself some time here are a couple of resources you should know about. First, is the classic Listamatic and Listamatic 2. Those two resources alone will give you enough to start building all types of menus. ...
-
Being a Webmaster is like Changing Dirty Diapers!
I have two beautiful children, Matthew who is almost four and Erica who is going to be two in December. I rejoiced when my son was finally potty trained, and if things go like we expect my little girl will be out of diapers sooner than my son. It meant ...
-
How To Add a Custom Welcome Based on Referrer
I recently added a little snippet of PHP to Video Rambler to welcome people that were coming from StumbleUpon with a custom welcome. The website recently got Stumbled again and one of the people that gave the site a thumbs up stated: I only gave it thumbs up bc I'm ...
-
Javascript Validation
I am always on the lookout for new ways to improve the websites I create and one of the best ways I have found to improve user input is to use Javascript to validate the data before sending it to the server. I recently came across not one, but two ...
-
Whitehat SEO Tips for Bloggers
This video has Matt Cutt's doing a presentation at WordCamp 2007 with search engine optimization tips for bloggers. It is a long video, just over 1 hour in length so you might want to just put the headphones on and let it play while you are working on something else. There is ...