Virtual Learning Platforms Thread, Linking in Sharepoint in Technical; What is the proper way of linking a page within SharePoint to another page?
At the moment I am putting ...
18th August 2010, 02:32 AM #1
Linking in Sharepoint
What is the proper way of linking a page within SharePoint to another page?
At the moment I am putting in http://servername/location/name_of_page.aspx
My concern is that at some point in the future I may rename the server to something else, which would cause links to break.
I've seen somewhere some people would use /_layouts/images/picture.jpg to change the default logo of SharePoint to suit their own rather than putting in http://servername/images/picture.jpg.
I've tried various ways but getting nowhere with it. Any pointers?
18th August 2010, 10:48 AM #2
- Rep Power
Depends where you want to store the file. In the case of a page I would suggest you continue with http://servername/location/name_of_page.aspx as this will link to a page within your SharePoint site.
Originally Posted by Chuckster
You will find that if you specify the path as http://servername/location/name_of_page.aspx, the 'http://servername' is known to the system, and it will create a relative path for you. Thus renaming the server at a later date should not pose a problem.
/_layouts/images/picture.jpg points to a file on the server itself - so the site images for example could be stored centrally there away from the site, if you prefer.
18th August 2010, 07:59 PM #3
I like "Pages/Home.aspx" and "Images/smile.jpg", really good if you like creating templates.
18th August 2010, 10:04 PM #4
Why can't you link without the servername part? it "/location/name_of_page.aspx"?
19th August 2010, 01:19 AM #5
I do link with the servername in them but my NM is going through a phase whereby he wants to standardise on server name conventions. Currently the servername is 'Sharepoint' but I think he would prefer to prefix them with the school's initials followed by whether it's a dc or member et al. E.g. ABC-MB-01 (I think).
If the rename does go ahead then I'm pretty certain links will break and it would mean spending x amount of hours combing through SharePoint to put things right again.
So, you think it's "/location/name_of_page.aspx" ?
I'll give this a whizz later when I get to work.
20th August 2010, 09:31 AM #6
you can setup an internal DNS name point to the ip address of the sharepoint server. You can then use alternate access mappings to configure the new internal name to the sharepoint web application. The following link provides more info on this Configure alternate access mapping
this means that the sharepoint site is not dependant on the servername.
hope this helps
By zag in forum Virtual Learning Platforms
Last Post: 14th May 2012, 08:18 PM
By TechSupp in forum Wireless Networks
Last Post: 24th October 2009, 11:08 PM
By FragglePete in forum EduGeek Joomla 1.5 Package
Last Post: 8th October 2008, 07:09 PM
By Grommit in forum Wireless Networks
Last Post: 13th December 2007, 08:03 PM
By adamyoung in forum Wireless Networks
Last Post: 28th May 2006, 06:41 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)