Print Page | Close Window

Changing Address Link

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=14276
Printed Date: 30 March 2026 at 11:29am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Changing Address Link
Posted By: wolfie
Subject: Changing Address Link
Date Posted: 16 March 2005 at 8:39pm
I was wondering if its possible to change an address that uses querystrings to a file like system... for example:

   http://www.wolfweb.co.uk/?page=blog&id=2&comments=true
    becomes
   http://www.wolfweb.co.uk/blog/2/comments/

Is this easy enough to do. I don't want to actully have folders, just seem like it. My site is stored in one file (well, the XHTML and main contents any way), so it uses if statements to change from page to page. But this makes the nav look ugly, hence why I want an easy way to do it in a folder like view.

Muchos thankos!


-------------
Wolfie--[ http://www.wolfweb.co.uk - WolfWeb.co.uk ]
PHP, .net--[ beginner ] ASP, VB, C, SQL--[ intermediate ] X/D/HTML, CSS, WML, XML--[



Replies:
Posted By: michael
Date Posted: 17 March 2005 at 10:11am
I don't think you will have an easy time in asp doing that. It's quite simple in asp.net using url rewriting thus in asp you'd have to see if you can capture the begin_request or so in the gloabal.asa file and take the url apart then redirect.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net