|
|
|
Absolute & Relative Links How Do They Rank?
The question for this article is whether or not you should use "absolute url's" or "relative url's"? Not only that, this article researches whether or not Google ranks these methods differently.
Absolute: You use the entire url pointing to...
Cheap Web Design
If you think it's simply a case of who will do it for the best price, think again. As with many things we buy there are several important factors to take into account. For a moment let's compare setting up a website with buying a house. When you...
Choosing a Web Host Based On Price? Don't!
It's tempting. There are so many companies offering cut-rate hosting – loaded with astounding post-futuristic techno-gizmo features ! – that it just makes sense to save a few dollars, right?
Think again. First, consider how much you would...
Honor Your Viewers
If you own a web site, you never know who has saved a page from your site to their favorites file (bookmarked it). It might be your home page, a great article, or a terrific resource. And since you don't know, every time you remove a page, you run...
So, You Want Your Own Website? Is Free Or Paid Hosting Right For You?
You have made the decision to build a website! Good for you. Whether you are simply looking for a way to show off your family, to try your hand at making money from an affiliate program or to go into a full-fledged business, your first decision is...
|
|
| |
|
|
|
|
Designing your website with change in mind.
We all know that our websites seem to take of live of their own.
As your site grows updating pages becomes more and more of a
task. This is where server side includes (SSI) can make your
site updates a lot easier and requires a lot less effort.
Visualize your page layout in sections. Most pages Usually
contain a top (header) section, a navigation system, content,
and then a footer (containing copyright info and date). Using
server side includes you can maintain each section in a separate
file making updating each section much easier. Instead of the
old method of updating each page of your site individually, you
can now update one file that will make the change for you on
every page that the include was on.
Most hosting companies support server side includes. You will
want to check with you host to make sure. Most Apache web-server
ate typically configured to parse files ending in .shtml. An
Apache server can be instructed to parse files with other
extensions by using an .htaccess file. You can update your
.htaccess file to parse .htm and .html file by adding in these
two commands.
AddType text/x-server-parsed-html .html
AddType text/x-server-parsed-html .htm
If you do not have an .htaccess file you can simply create a
file in your root directory named .htaccess and add the two
commands above and save the file.
Create each section of your page you wish to be used as an
include and save each section in a separate file and upload to
your server. These files can contain any regular html that you
wish to use. You can name these files with .txt extensions.
Now when creating a new content page you will want to use the
include command to include the
separate parts of your page.
For example: You are creating a page named your_content.htm. You
would start off with the normal html:
your_content
/* To include the top part of
your page. */
/* To include your
navigation. */
Content
/* To include bottom of page.
*/
| | | | | | |