Solved

Url with "Forward-Slash" Categories

Posted on 2009-04-08
4
352 Views
Last Modified: 2012-05-06
I have an ASP.NET web application that needs to go live sooner then I'd like.  One of the reasons for this is that there will be links in a soon to be published document that point to the site.  The links are unchangable.  Most of the links are in the form of:
ourdomainname.com/articlename (no file extension).  I need to direct users to a physical page within our website's structure when they browse to that URL.  How can I do this?
0
Comment
Question by:ryeandi
  • 2
4 Comments
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 24099088
x_com posted some info at this post:

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_24304189.html

that mentioned about ISAPI Rewrite, you may have a look for the links posted on that thread:

http://ask-leo.com/does_iis_support_url_rewriting.html
http://www.helicontech.com/articles/provocative_SEF_URLs.htm


hope that helps
0
 
LVL 7

Accepted Solution

by:
ruscomp earned 500 total points
ID: 24099228
Depending on how many there are, you can trick a Virtual Directory into doing it.

Go into IIS and create a Virtual Directory using the name of the short URL (so in the example ourdomainname.com/articlename, the alias would be "articlename"). The directory can be the same as the main site directory, or you can create a dummy folder as a sub directory and use that. Give it the normal permissions and hit Finish to create the Virtual Directory.

From there, right click on the Virtual Directory and go to Properties. On the first tab select "A redirection to a URL", and then type whatever URL you want "articlename" to go to.

Now when "ourdomainname.com/articlename" is typed in, it will redirect them to URL you specified.
0
 
LVL 1

Author Closing Comment

by:ryeandi
ID: 31568121
Thanks a lot ruscomp.  Exactly what I was looking for.  
0
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 24103483
Personally thinking what ruscomp suggested is workable but not so robust enough. Anyway, glad that you found a solution. cheers
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction (All good things must come to an end (http://en.wikipedia.org/wiki/All_Good_Things...))The original MySQL API (http://php.net/manual/en/book.mysql.php) has gone away, deprecated by PHP in Version 5.5, and removed from PHP in all current…
New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now