ASP URL variable stored in path

Posted on 2012-08-17
Last Modified: 2012-08-27
Mobile best practice says to not use "URL Variables" anymore, for example:

Should look like:

How do you do this with Classic ASP. I can't seem to figure out a logical way.

Question by:intoxicated_curveball
    LVL 31

    Accepted Solution

    With IIS7 you can do it with rewrite rules, in IIS config.

    IIS6, you need to use ISAPI Rewrite,

    Author Comment

    Thanks, this is the same information I found. I guess it is the best option but I don't like the idea of using 404 rewrite, I think it will upset the page reporting in Google Analytics you're not going directly from one page to another, instead you're bouncing off this server error page.
    LVL 16

    Expert Comment

    Those answers have nothing to do with 404 rewrite, and they are both perfectly SEO friendly.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
    SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
    In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
    In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now