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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:46:57+00:00 2026-06-18T05:46:57+00:00

currently my website has around 40 main categories & around 250 sub categories and

  • 0

currently my website has around 40 main categories & around 250 sub categories and around 10K products.

my current url is like this….

site.com/1/electroncis (main category)
site.com/2/Headphones ( electronics > headphones)

—-now there are many parent and sub categories

what I want to do is following…

site.com/electroncis (main category)
site.com/electroncis/headphones (main > sub)

I have ID‘s in url’s so in my code i can grab the categoryID and return those matching products, my tables perform lookups using CategoryID (not the category name).
to accomplish what i want…do I need to create over 500 static rules within my web.config file? there has to be a better way of doing it.

Thanks

  • 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-18T05:46:59+00:00Added an answer on June 18, 2026 at 5:46 am

    I dont really think its possible. clostest solution I came up with is to create rewriteMaps with key/value pairs

    <add key="cars" value="page.asp?v=1" />
    <add key="car/suvs" value="page.asp?v=2" />
    

    I can generate above tags using .NET and paste them into a .config file.

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

Sidebar

Related Questions

I'm currently trying to scrape a website that has fairly poorly-formatted HTML (often missing
I'm currently taking care of a certain local website. The default port has been
i am currently building a custom shopping cart to my website, it has all
Currently my website is based around MVC and the Entity Framework running against a
I have this site: http://www.problemio.com which currently has a solid-colored background and the body
My company has a enrollment website that is currently in DotNetNuke. I've been directed
I am currently building a website that has certain images, when clicked will open
Scenario A image website that has basic features such as upload, comment, like, follow
Have seen some conversations revolving around this, but hoping for some current input as
I'm working on upgrading a website completely. The current website has a blog set

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.