locked
How to create vanity urls for multiple subsites RRS feed

  • Question

  • We have multiple subsites and user wants to use short urls to access those sites. e.g.
    blog.domain.net ->www.domain.net/subsite1/subsite11/blog/
    wiki.domain.net ->www.domain.net/subsite2/subsite21/subsites211/wiki/
    forum.domain.net ->www.domain.net/subsite3/subsite31/forum/
    ...
    There are about 12 such subsites need to use short vanity urls to redirect to the deep locations

    How should I do this.  I can do redirect on IIS, but sharepoint subsites all saved in the database.
    Sunday, August 30, 2009 8:24 PM

Answers

  •  

    Hi,

     

    For your issue, if you think that keeping the URL structure is not important, we can simply create another website in IIS that listens for <http://blog.domain.net>. We then create an index.htm file with the following redirect.

     

    <SCRIPT LANGUAGE="JavaScript">

    window.location="

     www.domain.net/subsite1/subsite11/blog/”;

    </script>

     

    To be sure this is the default page being accessed, we need to move it to the top of the list in the documents tab of the web site.

     

    For more information about redirection options in SharePoint, please refer to the following articles:

    Redirection options in SharePoint

    http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=48

     

    Redirection options in SharePoint and IIS using URL variables or SharePoint Redirect pages.

    http://www.gilham.org/Blog/Lists/Posts/Post.aspx?List=aab85845%2D88d2%2D4091%2D8088%2Da6bbce0a4304&ID=179

     

    Important Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

     

    Hope it will be helpful for you.

     

    Rock Wang


    Rock Wang– MSFT
    Tuesday, September 1, 2009 1:42 AM

All replies

  • See whether the below URL gives any idea

    http://technet.microsoft.com/en-us/library/cc424952.aspx
    Monday, August 31, 2009 10:09 AM
  • This may not be what you are looking for but did you consider just creating an aliases? Meaning, adding a DNS record that blog.domain.net points to domain.net/subsite1...

    Kipp Sorensen http://justgeeking.net/blog
    Monday, August 31, 2009 2:03 PM
  • I am thinking of creating new virtual servers in IIS Manager and setting the property as "A redirection to a URL".  But each virtual server uses RAM on the server.  I am wonder if create 12 virtual servers would be a problem.
    Monday, August 31, 2009 2:31 PM
  •  

    Hi,

     

    For your issue, if you think that keeping the URL structure is not important, we can simply create another website in IIS that listens for <http://blog.domain.net>. We then create an index.htm file with the following redirect.

     

    <SCRIPT LANGUAGE="JavaScript">

    window.location="

     www.domain.net/subsite1/subsite11/blog/”;

    </script>

     

    To be sure this is the default page being accessed, we need to move it to the top of the list in the documents tab of the web site.

     

    For more information about redirection options in SharePoint, please refer to the following articles:

    Redirection options in SharePoint

    http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=48

     

    Redirection options in SharePoint and IIS using URL variables or SharePoint Redirect pages.

    http://www.gilham.org/Blog/Lists/Posts/Post.aspx?List=aab85845%2D88d2%2D4091%2D8088%2Da6bbce0a4304&ID=179

     

    Important Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

     

    Hope it will be helpful for you.

     

    Rock Wang


    Rock Wang– MSFT
    Tuesday, September 1, 2009 1:42 AM