ASP URL variable stored in path

Mobile best practice says to not use "URL Variables" anymore, for example:

mysite.com/folder/?var=1234

Should look like:

mysite.com/folder/1234/

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

Thanks.
intoxicated_curveballAsked:
Who is Participating?
 
alorentzCommented:
With IIS7 you can do it with rewrite rules, in IIS config.
http://learn.iis.net/page.aspx/461/creating-rewrite-rules-for-the-url-rewrite-module/

IIS6, you need to use ISAPI Rewrite,
http://www.isapirewrite.com/
0
 
intoxicated_curveballAuthor Commented:
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.
0
 
golfDoctorCommented:
Those answers have nothing to do with 404 rewrite, and they are both perfectly SEO friendly.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.