• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 476
  • Last Modified:

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.
0
intoxicated_curveball
Asked:
intoxicated_curveball
1 Solution
 
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now