Web Hosting, Design, & Coding forum

General discussion

Need help with Server Side Includes

by sooz12 / January 28, 2009 2:13 PM PST
Discussion is locked
You are posting a reply to: Need help with Server Side Includes
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Need help with Server Side Includes
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
extra "/"
by darenshawn / January 28, 2009 4:00 PM PST

Hello there,

try change the include URL from




Collapse -
Still not working
by sooz12 / January 29, 2009 12:24 AM PST
In reply to: extra "/"

Hi - Taking out the "/" did not work. Any other suggestions? Thanks, Sue

Collapse -
Try this
by Sovereign Forum moderator / January 29, 2009 10:48 AM PST

<!--#include virtual="bottom.shtml"-->

If the file you wish to include is in the same directory.


Collapse -
Nope not that either!
by sooz12 / January 29, 2009 11:07 AM PST
In reply to: Try this

That did not work either! What else could it be?

Thanks in advance! Sue

Collapse -
by Sovereign Forum moderator / January 29, 2009 1:04 PM PST
In reply to: Nope not that either!

1) Are all your pages ending in SHTML... the ones you are including and the ones that have the include command?

2) Does your server support the SHTML extension? Do they support includes?

Let us know.


Collapse -
The next thing to try...
by Sovereign Forum moderator / January 29, 2009 1:05 PM PST
In reply to: OK

Would be PHP includes.


Collapse -
.shtml extension on page?
by sooz12 / January 29, 2009 1:38 PM PST

I tried that and sure enough that worked. So I really have to change all the pages and links and menus and everything? I guess there is no other way... I'll try not to whine to much.

Collapse -
by Sovereign Forum moderator / January 29, 2009 1:45 PM PST

The "S" in SHTML means SSI-enabled. It allows the pages to get includes... the page you include doesn't have to end in SHTML, put the page that has the include code in it, needs to be.


Collapse -
Interested in this
by Sovereign Forum moderator / January 29, 2009 1:51 PM PST

If you have a lot of file extensions to rename, look at this: http://www.online-tech-tips.com/computer-tips/how-to-change-file-extension/. Scroll down to "How to batch rename file extensions". If you are worried about the file names inside the HTML documents, open the file in notepad, go to EDIT > REPLACE and replace all .html with .shtml. I'm sure there may be a batch rename program for that too ... one that can rename inside files.


Collapse -
by sooz12 / January 29, 2009 2:00 PM PST
In reply to: Interested in this

Thank you for pointing the way and for the tips! I will try them.
~ Sue

Popular Forums
Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?