Wrox Programmer Forums
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 28th, 2008, 11:33 AM
Authorized User
Join Date: Jan 2008
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default Change URL

i am using different user controls in my aspx page. In one of the user control there is a Drop down with list of different categories. The user select the category and press the Go button and then it displays all the data regarding that category.
Now what i want to do is to change the URL appeard such that it reflect the Selected category. like from: http://abc.com/NewsArchive/tabid/97/Default.aspx to http://abc.com/NewsArchive/CategoryO...7/Default.aspx.

Thanks in advance

Old February 28th, 2008, 01:18 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts


You want to look at the subject of url rewriting. Don't know how hard that is. The question is, you want the category in the URL, but do you want the URL pointing to the same place?

Old February 28th, 2008, 01:21 PM
Authorized User
Join Date: Jan 2008
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts

yeah the URL should point to the same page .......

Old February 28th, 2008, 01:25 PM
jminatel's Avatar
Wrox Staff
Points: 18,059, Level: 58
Points: 18,059, Level: 58 Points: 18,059, Level: 58 Points: 18,059, Level: 58
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts

We have an Wrox.com article about this:
"Provocative Search Engine Friendly URLs in ASP.NET"
which comes from a chapter in a larger book addressing related issues:
Professional Search Engine Optimizationwith ASP.NET: A Developer's Guide to SEO

Hope you find this helpful!

Jim Minatel
Acquisitions Director
Wiley Technology Publishing
WROX Press
Blog: http://wroxblog.typepad.com/
Wrox online library: http://wrox.books24x7.com

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change file path to http url cJeffreywang BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 0 July 25th, 2007 12:18 AM
How to change an ASP: Image Url at runtime ergaurav.nex ASP.NET 1.0 and 1.1 Professional 2 September 5th, 2006 03:44 AM
Change Schema URL maga2 XSLT 7 July 13th, 2005 04:46 AM
How to keep url end w/ index.htm when page change bekim HTML Code Clinic 3 January 25th, 2005 05:00 PM
extract URL from Favorites (.URL Files) PhilHawks VB.NET 2002/2003 Basics 2 November 2nd, 2004 04:35 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.