Archive for the 'Web Maintenance' Category

Validate XML

Monday, May 7th, 2007

If you want to validate a XML file here are a few tools:

XML Syntax Checker

XML well-formedness checker and validator

XML Validation Form

Parsing PHP in HTML

Saturday, April 28th, 2007

If you’re on an Apache Server, with Mod_rewrite installed, you can have the server parse PHP code in .html files by adding this code to your .htaccess file:

AddType application/x-httpd-php .php .htm .html

Prevent Image Hotlinking

Wednesday, March 14th, 2007

You can prevent “Image Hotlinking” with .htaccess if you’re on an Apache Server with Mod_rewrite installed. Here are a few tutorials:
Prevent Hotlinking With htaccess
Smarter Image Hotlinking Prevention
How can I prevent hotlinking?
Preventing hot linking of images
Kill Hotlinks
Apache Rewrite Module

Server Response Codes

Tuesday, November 21st, 2006

Here is a list of the Server Response Codes and what they mean.
HTTP/1.1: Status Code Definitions

Custom Error Responses

Tuesday, November 7th, 2006

If you’re on an Apache Server, with Mod_rewrite installed, you can create custom error messages for server errors.

Action Choices: [See Apache Manual]
Display Text
Redirect to External URL
Redirect to Local URL

Example lines of code for .htaccess file:
ErrorDocument 403 “Goodbye.
ErrorDocument 404 http://www.otherdomain.com/
ErrorDocument 404 /custom404.htm

.htaccess: Parent Directory

Monday, April 4th, 2005

Add this line of code in your .htaccess file to prevent parent directories from being viewed.
Options -Indexes

Internet Connection Speed

Friday, March 11th, 2005

If you would like to test your internet connection speed here is a link to McAfee’s Internet Connection Speedometer.

Change Default Directory Page

Wednesday, March 2nd, 2005

If you want to change your default directory page from “index” to something else, and you’re on an Apache Server, with Mod_rewrite installed, you can add this code to your .htaccess file:

DirectoryIndex otherpage.html

You can also set it up so that if the default page isn’t found that another takes its place:

DirectoryIndex otherpage.html differentpage.html

Of course, use […]

Web Stats

Saturday, February 26th, 2005

Urchin website Tracking
Stats Counter
AWStats
Webalizer

Cron Jobs

Saturday, February 26th, 2005

What is a cronjob, and how do I use it?

Broken Link Check

Friday, February 25th, 2005

Link Checker
Broken Link checker - Bad Link & Image Checker
Xenu’s Link Sleuth
Link Checker

Server Header Check

Friday, February 25th, 2005

URL Redirect Server Response tool
HTTP Header Viewer
Server Header Checker
HTTP header viewer - show http header

Robot Tracking

Friday, February 25th, 2005

A Script that will email you when GoogleBot crawls
Bots Tracking

Block An IP Address

Friday, February 25th, 2005

Deny users by IP
Block An IP Address

Removing Content from Google

Friday, February 25th, 2005

Remove Content from Google’s Index
Automatic URL Removal System