ASP.NET discrete querystrings

S

seanmatthewwalsh

Hi

Is there a way to use querystring links that don't look like typical
querystrings?

E.g. say I have a blog where the unique title of an article is "Dollar
set to strengthen", and which has a PostID of 101. I can obviously
have a URL such as:
http://www.myblog.com/?t=dollar+set+to+strengthen
which then checks the t item against the title in the database.

BUT, is it possible to do it without the usual ?t= part?

i.e. I would like it to look something like this:
http://www.myblog.com/dollar+set+to+strengthen/

Is there ANY way to get that text down into a default page? I'm sure
I've seen it done on other blogs, not sure how you could implement it
in ASP .NET

Thanks
Sean
 
J

Joe Fawcett

Hi

Is there a way to use querystring links that don't look like typical
querystrings?

E.g. say I have a blog where the unique title of an article is "Dollar
set to strengthen", and which has a PostID of 101. I can obviously
have a URL such as:
http://www.myblog.com/?t=dollar+set+to+strengthen
which then checks the t item against the title in the database.

BUT, is it possible to do it without the usual ?t= part?

i.e. I would like it to look something like this:
http://www.myblog.com/dollar+set+to+strengthen/

Is there ANY way to get that text down into a default page? I'm sure
I've seen it done on other blogs, not sure how you could implement it
in ASP .NET

Thanks
Sean
It can be done in a number of ways, try searching for URL rewriting and
asp.net.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top