Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Relative URL for subsites on top-level website

  Asked By: Jordan    Date: Aug 20    Category: Sharepoint    Views: 5180

I created a "Links" list on my top-level web-site, and try to add links
to some of the subsites or workspaces to this list with relative URL
path.

For Example:
The top-level web-site is accessible by URL: http://ip_address/
Under this I have a web-site accessible by URL: http://ip_address/site1
Now I want add a link to access "site1" which should be relative to the
ip_address, as "/site1".
This relative path is necessary because the "ip_address" as accessible
from inside firewall is different than that accessible from outside
firewall.

SharePoint, at present, seems to necessitate that complete absolute URL
be specified. Any workarounds?

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Mackenzie Lewis     Answered On: Aug 20

I dont know if this will solve your problem Shyam. But here is what
sharepoint has to offer.

"The url  text is itself stored in the URLs (DocMd) table, which
stores all the URLs in Microsoft sharepoint  databases on the server.
This is done so that any URLs that are local on the server can be
updated via link  fix-up when their destination moves."
(Taken from the Wss SDK)

Here is how it works. You have to access  your site by using the url
http://localhost, now you add  some urls in the link field,
like "http://localhost/somesite". Now the SharePoint should resolve
the localhost to your domain or ip.

 
Answer #2    Answered By: Kurt Gilbert     Answered On: Aug 20

How about setting an alternate mapping on the virtual server?

 
Answer #3    Answered By: Jaya Deoghar     Answered On: Aug 20

There is a web part called "My sub Webs" that displays all the sub sites
of a particular site.

You can chose to display titles, urls, description, author, last
modification etc etc



Alternatively, Corasworks ...http://www.corasworks.com sells a web part
that shows all sub sites

down seven layers deep. It creates a drop down icon list  rather like
widows explorer.

 
Answer #4    Answered By: Candi Branch     Answered On: Aug 20

"My sub Webs" web-part is part of WSS or SPS?
I could not find this web-part on the standard WSS web-parts list
displayed upon 'Add Web part' --> 'Browse'.

Can you please tell me where to find this particular web-part?

 
Didn't find what you were looking for? Find more on Relative URL for subsites on top-level website Or get search suggestion and latest updates.




Tagged: