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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:23:40+00:00 2026-05-26T11:23:40+00:00

We use IIS Mod-Rewrite from MicoNovae for our IIS rewrites on Windows 2003. We

  • 0

We use IIS Mod-Rewrite from MicoNovae for our IIS rewrites on Windows 2003.

We use the RewriteRule command, for example:
http://www.site.com/section35/page1/tiling-tools/
becomes:
http://www.site.com/search.asp?section=35&page=1&model=tiling-tools

I now have a situation where I need to append the querystring to the re-written URL, for example:
http://www.site.com/section35/page1/tiling-tools/?myid=dskajh34kjhsvkjh34
need to become
http://www.site.com/search.asp?section=35&page=1&model=tiling-tools&myid=dskajh34kjhsvkjh34

My rules are:

RewriteEngine On
RewriteRule /\.htaccess$ - [F]
RewriteRule ^/section([^/]+)/page([^/]+)/?([^/]*)/?([^/]*)/?([^/]*)/$ /search_results.asp?section=$1&page=$2&model=$3 [L]

I’ve tried the following, without success:

RewriteRule ^/section([^/]+)/page([^/]+)/?([^/]*)/?([^/]*)/?([^/]*)/$ /search_results.asp?section=$1&page=$2&model=$3&%{QUERY_STRING} [L]

RewriteRule ^/section([^/]+)/page([^/]+)/?([^/]*)/?([^/]*)/?([^/]*)/$ /search_results.asp?section=$1&page=$2&model=$3 [L,QSA]

Suggestions will be appreciated (‘cos it’s driving me mad!)

Thank you!

  • 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-26T11:23:41+00:00Added an answer on May 26, 2026 at 11:23 am

    Apart from the query string appending, I’m not even sure your rewrite rule is working at all?!? I would suggest to use something like this:

    RewriteRule ^/section([0-9]+)/page([0-9]+)/(.*)/    /search_results.asp?section=$1&page=$2&model=$3    [NC,L,QSA]
    

    The NC flag makes your rewrite rule non-case sensitive and the QSA flag adds the query string you need.

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

Sidebar

Related Questions

i use the HeliconTech ModRewrite v3 on an Windows/IIS Webserver to make rewrites via
What are the input types you can use in IIS rewrite rules? The ones
I use IIS 7.5 on windows 7 to serve my asp.net websites for testing
I'm trying to use IIS Isapi Rewrite to do the following... I need seo-friendly
I use IIS 7.5 and URL Rewrite. I have a website with the following
I use IIS web server 7.5 on Windows 7 for hosting my project. I
I use Windows Server 2008 R2, IIS 7.0. I downloaded umbraco5 sources, created new
I have tried to use IIS 7 (as included in Windows 7) to test
http://learn.iis.net/page.aspx/327/powershell-scripts/ CreateIISBindingOntoSite DAP1Site1 80 www.DAP1Site2.com http However I want to generate and usa a
I have configured my website from VS2010 to use IIS 7.5. Then I added

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.