rewriting URLs?

S

Smokey Grindle

doesnt help much with dynamic sites though does it? this is pretty much a
static rewrite it seems...
 
A

Alan Silver

"John Timney (MVP)" said:
In 2.0 theres a new handler, with a section in web.config to list your
re-mappings called urlMappings.

http://msdn2.microsoft.com/en-us/library/ms228302.aspx

Do you know if this can be used when the URL entered doesn't contain
..aspx? I have a client who wants to advertise URLs like...

http://www.domain.com/software

and have it map to the real ASP.NET page. Basically, his audience is
really not techno-savvy and he is bothered by the .aspx endings as they
are harder to read. I know I could just bung the various bits of content
in folders, but I have other reasons why I don't want to do that. This
urlMappings handler looked just the ticket, but only if it can be used
with an URL like I showed. I have a suspicion that this URL won't get
passed to the ASP.NET engine, so the mapping will never get done.

Any comments? TIA
 

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

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top