473,408 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

shortcut url's and asp.net

Hi all,

Sometimes you see "shorcut url's" advertised of the form
//servername/directory (easy to remember), that will lead you to
somewhere within the site (to a possibly more difficult url)

example: //www.microsoft.com/office leads to a different
url, specifically for Office.

question: is it possible using asp.net to define such shortcut url's
that will lead the visitor to the "real" page?
I suspect that there is a problem activating the .net system as there is no
aspx page referenced, so IIS doesn't know that it is supposed to
activate some asp.net function.

Hans Kesting
Nov 18 '05 #1
4 1413
Hi,
So far I could understand ,u want to redirect a request.
But, it has nothing todo with the ".net system".
Make a default page (set it as default content page on IIS) to your "easy to
remember" site,
which will redirect the client with a Javascript (or Response.Redirect
within cs if u need which will result the same) to your "difficult url".

Good Luck
Adnan

"Hans Kesting" <ne***********@spamgourmet.com> wrote in message
news:eR**************@TK2MSFTNGP09.phx.gbl...
Hi all,

Sometimes you see "shorcut url's" advertised of the form
//servername/directory (easy to remember), that will lead you to
somewhere within the site (to a possibly more difficult url)

example: //www.microsoft.com/office leads to a different
url, specifically for Office.

question: is it possible using asp.net to define such shortcut url's
that will lead the visitor to the "real" page?
I suspect that there is a problem activating the .net system as there is no aspx page referenced, so IIS doesn't know that it is supposed to
activate some asp.net function.

Hans Kesting

Nov 18 '05 #2
Maybe I need to clarify a bit, see below

"Hans Kesting" <ne***********@spamgourmet.com> wrote in message news:eR**************@TK2MSFTNGP09.phx.gbl...
Hi all,

Sometimes you see "shorcut url's" advertised of the form
//servername/directory (easy to remember), that will lead you to
somewhere within the site (to a possibly more difficult url)

example: //www.microsoft.com/office leads to a different
url, specifically for Office.

question: is it possible using asp.net to define such shortcut url's
that will lead the visitor to the "real" page?
I suspect that there is a problem activating the .net system as there is no
aspx page referenced, so IIS doesn't know that it is supposed to
activate some asp.net function.

Hans Kesting


Ultimately I want the webmaster to be able to go to some backoffice
page, select a newsitem (or whatever) and "publish" it under a shortcut url.
He can then say "go to http://mysite/mylatestnews" instead of
"go to http://mysite/dir/default.aspx?module=news&newsid=<some impossible guid>"
(where "mylatestnews" is NOT fixed, but a term he can specify himself)

Hans Kesting
Nov 18 '05 #3
Try :
http://www.15seconds.com/issue/030522.htm
--

"Hans Kesting" <ne***********@spamgourmet.com> a écrit dans le message de
news:eR**************@TK2MSFTNGP09.phx.gbl...
Hi all,

Sometimes you see "shorcut url's" advertised of the form
//servername/directory (easy to remember), that will lead you to
somewhere within the site (to a possibly more difficult url)

example: //www.microsoft.com/office leads to a different
url, specifically for Office.

question: is it possible using asp.net to define such shortcut url's
that will lead the visitor to the "real" page?
I suspect that there is a problem activating the .net system as there is no aspx page referenced, so IIS doesn't know that it is supposed to
activate some asp.net function.

Hans Kesting

Nov 18 '05 #4

"Patrice" <no****@nowhere.com> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl...
Try :
http://www.15seconds.com/issue/030522.htm


Thanks, it looks interesting. I will look into it.

Hans Kesting
Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

27
by: aa | last post by:
Thought this question might be out of this NG's scope, there are always knowledgable people who might hava an answer. A hyperlink to a shortcut to a file returnes an empty screen, and the source...
6
by: Todd Peterson | last post by:
I'm encountering some wierd behavior with a <link> tag over an HTTPS connection, vs. an HTTP connection... In an ASP/HTML page on my website, I've add a <link rel="shortcut icon"...> in order to...
2
by: Benjamin | last post by:
I have a very strange problem. I have developed a .NET solution. To set up user clients I have also included a "Deployment Project" in the solution: Using "File System Editor | User's Program...
5
by: Steven | last post by:
I have some text boxes on a form in MS Access 2000. When I right click in them I don't get any shortcut menu at all. I want the normal cut, copy, and past menu to come up. In the "Startup", I...
4
by: Benjamin | last post by:
I have a very strange problem. I have developed a .NET solution. To set up user clients I have also included a "Deployment Project" in the solution: Using "File System Editor | User's Program...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.