Forum Moderators: mack

Message Too Old, No Replies

links wont work with .shtml

         

miketheman942

9:59 pm on Dec 8, 2002 (gmt 0)

10+ Year Member



I have just started playing around with my first web page. Everything was going fine until I added the hit counter on my page. It required me to change the file extension from .html to .shtml. Now of course none of my links back to my home page work. I am using MS FrontPage 98. I tried changing the ext. locally but then my computer would not recognize the document. I'm sure it is a simple fix but I can't find anything in FrontPage to change the ext. FrontPage adds the html ext. automatically.

brotherhood of LAN

10:13 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hello miketheman, and welcome to Webmasterworld [webmasterworld.com].

Is there any chance you know what server you are using? This can give you difference solutions.

If you have frontpage extensions installed on the server, you could also use the counter that frontpage has and keep the .html extension.

The worst alternative is having to rename your .html files to .shtml.

/added
for frontpage, when you go to save as for a new file, put in the extension name also so you can have which one you like.

miketheman942

10:20 pm on Dec 8, 2002 (gmt 0)

10+ Year Member



I have Cox@Home if thats what you mean by the server. they do have FrontPage ext. but I dont know how to use them. I'm using their counter and they require the ext. to be .shtml. I am using the web publishing wizard that came with windows to send pages to the server.

miketheman942

10:26 pm on Dec 8, 2002 (gmt 0)

10+ Year Member



does FP have a counter?

brotherhood of LAN

10:29 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



FP does indeed have a counter,

I think its under "insert" on the FP toolbar.

RE your server...i mean the web server that is used to host your site, it could be something like Apache or IIS.

If you're just after a simple counter the frontpage one should be OK.

miketheman942

10:34 pm on Dec 8, 2002 (gmt 0)

10+ Year Member



my internet service (@home) hosts my web page.

miketheman942

10:36 pm on Dec 8, 2002 (gmt 0)

10+ Year Member



Thanks for helping me.

jdMorgan

1:17 am on Dec 9, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



miketheman942,

Submit your URL to this WebmasterWorld utility [webmasterworld.com], and cut-n-paste the resulting server info to let us know what server software the cox hosting service uses for your site. That will help to get you better answers.

Jim

miketheman942

9:33 am on Dec 9, 2002 (gmt 0)

10+ Year Member



here it is. thanks again.
HTTP/1.1 200 OK
Date: Mon, 09 Dec 2002 09:31:48 GMT
Server: Apache/1.3.26 (Unix) FrontPage/4.0.4.3
Connection: close
Content-Type: text/html

miketheman942

12:43 pm on Dec 9, 2002 (gmt 0)

10+ Year Member



Correction. I thought I had FP 98 but after going under help in FP discovered I don't. I apparently have FP 95.(I guess) Reads: Microsoft FrontPage Express version 2.0 copyright 1995-1997. I cant find counter. Does this version have FP extensions? I was able to rename ext. so it it should work out anyway.

brotherhood of LAN

7:23 pm on Dec 9, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



mike, this code should give you a frontpage counter

<!--webbot bot="HitCounter" b-reset="FALSE" u-custom i-image="1" i-resetvalue="0" i-digits="0" -->

I think you could probably change i-image for a different looking counter.

I'd usually not suggest using a FP extension, but I'm guessing your webspace is free, and free webspace has a habit of not offering many options (like .htaccess to allow you to use dynamic content on a .html page).