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

  • SEARCH
  • Home
  • 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 8769911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:27:16+00:00 2026-06-13T17:27:16+00:00

We are replacing an existing Apache hosted web site with an ASPX IIS 7.5

  • 0

We are replacing an existing Apache hosted web site with an ASPX IIS 7.5 hosted web site.

At present, Google displays several sub page results (relative to the main site) where the sub page (Apache) link looks something like this…

http://mysite.co.uk/mypage.html;jsessionid=D4F2C4D93229A451BCA886061501C777

I want this link to be (301) redirected by IIS to something like this…

http://mysite.co.uk/anotherpage.aspx

I can create an 301 HTTP redirect in IIS to redirect “mypage.html” to “anotherpage.aspx” but that doesn’t work when the incoming request for “mypage.html” also includes the “;jsession=…”.

I’ve looked at redirect wildcards but I can’t seem to get the right result.

Any advice would be much appreciated!

  • 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-06-13T17:27:17+00:00Added an answer on June 13, 2026 at 5:27 pm

    I solved this problem with IIS URL Rewrite. The following sample rule would solve the problem I described above…

    <rewrite>
        <rules>
            <rule name="mypage">
                <match url="^mypage.html" />
                <action type="Rewrite" url="anotherpage.aspx" appendQueryString="false" />
            </rule>
        </rules>
    </rewrite>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're replacing a static web-site with a Django app. All the uri's will change.
I'm working on replacing an existing web grid in an ASP.NET web application, with
I am replacing an existing web application, that all it's requests go through a
I'm replacing an existing web service with a WCF service and as the first
I am attempting to lean linq by replacing existing code in a project with
I'm replacing some text with cufon on my page and I'm using jquery stylish
I am trying to restore SQL server DB, replacing the existing one but donot
There are two existing questions about replacing vector elements that are not assignable: C++
I have to place a flash movie into an existing layout. It is replacing
I have a new Winforms application that is replacing an existing Access order processing

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.