Announcement Announcement Module
Collapse Forum Guidelines

Welcome to the Forums! The purpose of this forum is to allow you to discuss topics relating to hosting and topics of interest with other Customers. The primary focus should relate to issues not generally included in our Wiki or Control Panel, or information not provided by our Customer Support Team. Some examples include programming and coding support, web site design ideas and SEO practices.

The forum is not meant as a replacement to our Wiki or Customer Support. We highly recommend searching our Wiki before posting on the forum. Also, if you have a question for our Customer Support team, please contact them as you would normally.

We ask that if you have any complaints or questions relating specifically to your account, that you address them to our Customer Support department. Do not post personal account information such as passwords or other sensitive and private information the forum, as this type of information is best kept secret. Also, please be respectful of other users and refrain from defamatory comments or use of coarse language.

We will visit the forum from time to time, and contribute to various topics. We reserve the right to delete any posts which are deemed offensive or against the spirit of the forum. Any spamming or illegal activity will not be tolerated. We also reserve the right to block any user who violates these guidelines.

To get started, we welcome you to sign up at our User Management site. Any account created there will have access to these forums, our Wiki, our Ideas site and commenting permission on our Status Blog.
See more
See less
Server side includes Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Server side includes

    I'm adding server side includes to and existing site for a non-profit organization. It's hosted on the IIS 7.0 server. The source files are simple html, but there's a lot of them. I can easily implement this, but to make the server happy I have to change the extension to shtml. Again, not a problem in itself. Here's the problem. The site is referenced by a bunch of other sites and a wide variety of users likely have specific pages bookmarked so they'll continue to open the old html pages.

    On a LAMP server, I'd just write a htaccess file, but I have no idea how to handle this in IIS other than to turn each html file into a redirect itself.

    I'm not familiar with IIS so any thoughts are appreciated.

  • #2
    You should be able to achieve this with a custom web.config file. You'll need to make individual entries for each redirect but it's far easier than performing each one individual in the IIS interface.

    <location path="example.html">
    <httpRedirect enabled="true" destination="" exactDestination="true" childOnly="true" httpResponseStatus="Permanent" />


    • #3
      agreed. You'll save a LOT of time this way.


      • #4

        And don't forget to back up your files before you start messin' around!!