one possible solution would include writing an .asp or .aspx page to
handle 404 (page not found errors). You could keep a list of shortcuts
and the documents they refer to - in a database or xml file - and
redirect accordingly.
rgds,
Wolfgang
On Apr 22, 8:07 am, Ashutosh Kachot
<AshutoshKac...@discussions.microsoft.com> wrote:
> I have a question. Currently, if I want to communicate a Portal link to a
> document in its URL form, it would look something like this:
>
> http://www.abc.org/NR/rdonlyres/ED9E9B36-AB55-4DE1-BFF2-5F735235CA44/...
Thanks for the answer. But I am not receving any error ( like 404 ) , I want
to have a shorter link which do not contain
"NR/rdonlyres/ED9E9B36-AB55-4DE1-BFF2-5F735235CA44" path. these are the
document which reside on CMS page so i am confuse how to impement your logic.
it would be great if you can please explain further.
Thanks Again,
Ashutosh
"wolfgang...@gmail.com" wrote:
> Hi,
>
> one possible solution would include writing an .asp or .aspx page to
> handle 404 (page not found errors). You could keep a list of shortcuts
> and the documents they refer to - in a database or xml file - and
> redirect accordingly.
>
> rgds,
> Wolfgang
>
> On Apr 22, 8:07 am, Ashutosh Kachot
> <AshutoshKac...@discussions.microsoft.com> wrote:
> > I have a question. Currently, if I want to communicate a Portal link to a
> > document in its URL form, it would look something like this:
> >
> > http://www.abc.org/NR/rdonlyres/ED9E9B36-AB55-4DE1-BFF2-5F735235CA44/...
> >
> > All links will have NR/rdonlyres/followed by a GUID, etc ending with the
> > actual document name.
> >
> > Is there a way to simplify or create a shortcut for a document link? E..g.,
the idea is to trigger 404 events on purpose. When you reference your
document at http://www.abc.org/EnglishGuidelines, IIS will trigger an
404-error, because the document can not be found there. When you set
IIS to use an ASP or ASP.NET page for errorhandling, you can use this
errorpage to do the magic. You just need a table in a database (or XML-
file) to store the information that the link http://www.abc.org/EnglishGuidelines
should point to http://www.abc.org/NR/rdonlyres/ED9E9B36-AB55-4DE1-BFF2-5F735235CA44/...
Your error page just looks up the "real" target in the database and
redirects your visitor's browser to the destination.
hope that hepls,
Wolfgang
On May 13, 9:29 am, Ashutosh Kachot
> > > document links?- Hide quoted text -
>
> - Show quoted text -