Mirror your site - Avoid Internal Link Errors

Oct 24
21:00

2002

Dianne Reuby

Dianne Reuby

  • Share this article on Facebook
  • Share this article on Twitter
  • Share this article on Linkedin

Unless your web site has only one page, with no ... have internal links. That's links to other parts ofyour site, or to pictures that you've included on your page.To avoid basic errors suc

mediaimage

Unless your web site has only one page,Mirror your site - Avoid Internal Link Errors Articles with no graphics,
you'll have internal links. That's links to other parts of
your site, or to pictures that you've included on your page.

To avoid basic errors such as linking to pictures or pages
that are in another subdirectory, I find it best to set up
a complete mirror of my web site on my PC.

For example, on a large site I may plan to have each one of
my web pages in a subdirectory, images for each page in an
images directory within each subdirectory, and a *common
images* subdirectory.

So that's what I set up on my hard drive. I create a
directory, giving it the name of my site. That represents
the root directory on the web server.

Then I create my *common images* directory - this will hold
images that are used by every page, for example banners,
site logos, navigation buttons. Doing this saves space on
your server, and makes your pages load more quickly.

Finally I create the subdirectories for each page, and the
image directories inside each subdirectory.

Now, when I start creating my pages and graphics, I save
them in the correct directory. I can check the site in my
browser, and any missing pictures or broken page links will
show up straight away.

Once my site is up and running, I make sure I keep my mirror
image of it up to date, then I don't get any nasty surprises
when I upload changes.

I can also view my site without having to go on-line if
necessary.

Happy site building!