Make Changing Your E-Mail Address

In Your Webpages Easy

Linda Haas Davenport

Dividing Line

If you have a website one of the major pains is to change your e-mail address, especially if you have a lot of information on your site. When you have to change your e-mail address the following will make it an easy task in the future. Yes, it will be a chore now, but if you're changing your e-mail address you're going to have to open and fix a bunch of pages anyway.

 

E-mail Addresses:

1. Open Notepad and type in:

<A HREF="mailto:(your e-mail address)"> (the name you want to show on the web page)</A>

Example:

<A HREF="mailto:lhaasdav@yahoo.com">Linda </A>

Save the file as xmail.html and place it in your root directory.

2. If you use an html generator program, open xmail.html in your program and make sure this is the only text on the page (delete any header tags, body tags, etc.). Resave the page.

3. Open the web pages where you have your e-mail address listed and replace the current "mailto:" link command with the following. The ! and the -- are a part of the command and must be included.
<!--#include virtual="/(your site name)/xmail.html"-->

Example:

<!--#include virtual="/~armarion/xmail.html"-->

Once the change is made on individual web pages you only have to change your e-mail address in the
xmail.html file and it will be correct on all the pages where you inserted the code.

Footers:

Along the same line you can make an "Page last updated" footer to go on each page.

1-Using Notepad type

<P ALIGN="CENTER">"This Page Was Last Updated&nbsp;<!--#echo var="LAST_MODIFIED"-->"<P ALIGN="CENTER"><A HREF="mailto:(your e-mail address)"> (the
name you want to show on the web page)</A></P>

Example:

<P ALIGN="CENTER"><A
HREF="mailto:lhaasdav@yahoo.com">Linda Haas Davenport</A></P>

2-If you use an html generator program, open xfooter.html in your program and make sure this is the only text in the program (delete any header tags, body tags, etc.). Save as
xfooter.html

3-On the pages where you want this information to appear, type in

<P><!--#include virtual="/(your site name)/xfooter.html"--></P>

Example:

<P><!--#include virtual="http://www.lhaasdav.com/xfooter.html"--></P>

If you want it on the bottom of the page place the code just before the </Body> tag.

 

Use For Other Things

The <!--#include virtual=" > code can be used for anything you want to easily update and/or keep standard. For example on my Tulsa site
http://www.rootsweb.com/~oktulsa2 the left hand side of each page is a include virtual statement. When I want to make a change I only have to make the change in my xsidebar code and not change each page on the site.

I use include virtual statements all the time and people who do not have Java script enabled are still able to see it.

Dividing Line

Return to Learning Center

Return to Home Page

[an error occurred while processing this directive]