Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3618250
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:43:40+00:00 2026-05-18T22:43:40+00:00

In a hosted IIS7 environment, I am looking for the simplest way to use

  • 0

In a hosted IIS7 environment, I am looking for the simplest way to use extension-less file names. Simply I have the following pages:

  • index.html (or .aspx) –> example.com
  • gallery.html –> example.com/gallery
  • videos.html –> example.com/videos
  • etc…

I only have a handful of pages, I have no dynamic code, nothing special. All the examples I have found or methods I use in other sites I’ve developed revolve around dynamic content, pages, etc. I am simply looking for the simplest solution, ideally not requiring any sort of URL rewrite module installed. Preferably, I could keep the .html extension instead of converting the site to a ASP.NET project, but that is an option.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T22:43:40+00:00Added an answer on May 18, 2026 at 10:43 pm

    I ended up using the following sites:

    http://blogs.msdn.com/b/carlosag/archive/2008/09/02/iis7urlrewriteseo.aspx

    and

    http://forums.iis.net/t/1162450.aspx

    or basically the following code in my web.config file using the IIS7 URL Rewrite Module that most hosted sites now offer (in this case I am using GoDaddy):

    <system.webServer>
        <rewrite>
            <rules>
                <rule name="RewriteASPX">
                    <match url="(.*)" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="{R:1}.aspx" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi, I have a WCF service hosted in IIS7 that runns the following code
I have a simple WCF service hosted in IIS7 using the HTTP protocol. The
we run a WCF service hosted in IIS7 on Win2k8. We see the following
My web appkication has the following set up.. WCF application hosted on IIS7 Basic
I have an IIS7 hosted service that I need to expose to two different
We have a WCF service, hosted on IIS7.5, that has to fetch some data
I have a WCF service hosted in IIS7. This is the app.config for my
I have a simple WCF service hosted in IIS7.5 exposed over a wsHttp binding
I have a Asp.net/C# web Application hosted under IIS7.5 server 2008 64bit. my application
I have a WCF application, running on .NET 3.5 SP1, hosted in IIS7, on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.