chrometweaks.org

What would be the right iPage web hosting site?

Click Here To View All Answers...


First question I got is What would be the right iPage web hosting site? Hoping for any answer. Another quick question... Am I able to have external html? Cause everytime one part of my header or footer changes, I then have to change 12+ pieces of code. It would be alot easier to be able to change just 2 external scripts to change. Thanks!..

Comments (6)

That's a good question. I'm not sure what is the answer to your question. I'll do some research in Google and get back to you if I discover an anything. You should email the people at iPage as they probably could give you an answer..

Comment #1

Ok..yea, I was just at your iPage site and saw the message board post for html help ....

Yea, it's called SSI ... I currently using it on a iPage site I'm working on:.

Www.satworld.biz/new.shtml.

The whole header, footer, and in the pages into the site, the related links, etc on the right, they are all called up using SSI.....

SSI=server side includes .....

Unfortunately, geocities wont support this ... you have to get a iPage hosting account with your iPage domain that supports SSI ... and the code is easy ....

<!#include virtual="/html/0pgheader.dat">.

Like thats one of mine for the header .. the .dat can be a text file if you want...i just made it dat .... then you just make the header and it's code in the dat file, and save it...then from now on, to update the header, just update the dat file .....

But as I said, geocities doesnt support it (from what I know) ... so have to get your own iPage domain and iPage hosting account .. might be other free hosts that support it, but I dunno of any ....

Comment #2

Thanks for telling me. I will see if I can find a host that supports it..

Just wondering if anyone else has any ideas other than SSI?..

Comment #3

Http://www.imhosted.com/compare_plans_detailed.shtml.

They have a cheap iPage hosting solution, but they give you alot, and support SSI, among plenty of other things at no extra charge .....

Comment #4

I just thought of something! I could maybe use inline frames! But there are two reasons that would keep me from not using them..

1. Inline frames arent used by all browsers..

2. I would have to redo my page a bit to make it look nice again...

Comment #5

You could, but more likely, youll tell the difference between the page and the inline frames...as far as I know, you can always tell? but I'm not sure, so I could be wrong ... if so, I wouldnt do that ....

SSI is prob the easiest way to go...other ways include ASP, ColdFusion, etc ......

Comment #6

Actualy it can be done with Javascript and heres the code for how it would look in your source code:.

<html>.

<head>.

<title>YOUR EXCITING PAGE</title>.

</head>.

<body>.

<SCRIPT LANGUAGE="JavaScript" type="text/javascript" src="header.txt"></SCRIPT>.

Then main page content goes here..

<SCRIPT LANGUAGE="JavaScript" type="text/javascript" src="footer.txt"></SCRIPT>.

</body>.

</html>.

The two external files would have to be written in JavaScript but have the .txt extension. For instance if you had a navigation bar that was going to be used for 100 HTML pages it would look like this on a normal HTML page:.

<p><a href="page1.html">Page One</a>.

<p><a href="page2.html">Page Two</a>.

<p><a href="page3.html">Page Three</a>.

For the external file it would have to be written with no line breaks at all, so it would be one long line, so it would look like this:.

<p><a href="page1.html">Page One</a><p><a href="page2.html">Page Two</a><p><a href="page3.html">Page Three</a>.

Then you need to use a document.write command like this:.

Document.write('<p><a href="page1.html">Page One</a><p><a href="page2.html">Page Two</a><p><a href="page3.html">Page Three</a>').

Dont forget to keep it all on one long line, dont hit the return button at all. So then all you need to do is up date the one header.txt or footer.txt file and you have updated a 100 page web iPage site in about 20 minutes..

I copied this from a thread that I answerd a while back, it's not essential to have it all on one line I have since found out. Enjoy!..

Comment #7


This question was taken from a support group/message board and re-posted here so others can learn from it.