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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:24:27+00:00 2026-05-23T01:24:27+00:00

A site uses this link format for everything: example.com/?article=123 example.com/?category=456 example.com/?article=789&picture=012 An ASP classic

  • 0

A site uses this link format for everything:

  • example.com/?article=123
  • example.com/?category=456
  • example.com/?article=789&picture=012

An ASP classic default.asp catches all of this and does stuff with it.

I would really like to create a couple of routes for these old type of Url’s with querystrings on the root, so I can catch them in a separate controller and do some tricks on them (permanent redirects).

When I try to create a route that contains a questionmark, I am told that is not possible.

  • 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-23T01:24:28+00:00Added an answer on May 23, 2026 at 1:24 am

    This could be a good case for Global Action Filters if there’s no way to handle these using routes (Although I imagine there is).

    You could process the incoming url in the OnActionExecuting method and redirect as appropriate.

    UPDATE

    There’s a good SO answer here on how to redirect as you require. It may not be exactly as you’ve asked however a similar principle should acheive what you’re after quite easily.

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

Sidebar

Related Questions

Here for some help again :) I've got this site: sharemyplaylists.com that uses this
I have a web site in asp.net that uses a master page. In this
I have a site that uses for example html element id=some_id several times and
I have a PHP text-size select function within a Drupal site: It uses this
I am working on a site that uses facebook connect. To use this option
I am using Lightbox Slideshow 1.1 (www.justinbarkhuff.com/lab/lightbox_slideshow) on my site which uses javascript to
I've been developing a Django site that uses django-social-auth ( this one ) for
My site uses the Google Maps API . In situations where the connection to
I currently have a site which uses a MySQL 4.x schema, the site uses
The navigation on the left menu in the below site uses CSS for mouseover

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.