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 891627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:55:12+00:00 2026-05-15T13:55:12+00:00

I have a comment form on my website on contact.aspx . I want to

  • 0

I have a comment form on my website on contact.aspx. I want to be able to put up a redirect from /comment (no extension) to point to contact.aspx.

I set up the following url mapping in my web.config and when I test locally it works fine. When I post it to production, the redirect doesn’t happen and I get the IIS 404 error.

<system.web>
    <urlMappings enabled="true">
        <add
        url="~/comment"
        mappedUrl="~/contact.aspx"/>
    </urlMappings>

I’m assuming this is because IIS isn’t serving up the request to the asp.net engine and I’m using a shared hosting environment (discountasp.net) so I don’t have direct control over IIS to configure it there. I can always put in the subfolder and a default.aspx that will redirect for me, but I thought I would inquire about this route first.

What does the collective think?

  • 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-15T13:55:13+00:00Added an answer on May 15, 2026 at 1:55 pm

    Ask your web host if they can configure your virtual directory to serve all requests through ASP.Net.

    Many hosts (mine included) are willing to do this. (Mention ASP.Net MVC, which requires this)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple contact form on a website that has 2 text fields,
I have a comment form on my website which, at the moment I filter
I have always used this code to send email from contact form of websites
I have this contact form on my website, but I can't make it to
I hope I am clear enough. My data set is populated I have comment:CommentVO;
I have this string: comment_1234 I want to extract the 1234 from the string.
I have a form on a website I'm working ( you can see it
At the wordpress form, when you leave comment as guest, there's a website field
I have a nice looking slideup/slidedown jquery form on my website. It sends the
I have been trying to read the source of a website with the following:

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.