locked
SharePoint Link list: After moving to prod, links still point to dev server RRS feed

  • Question

  • Hi all,

    I have to move my dev site at http://localhost/sites/dev/ to the live environment at http://localhost/sites/live/.

    On Dev server I have a lot of Link Lists with links pointing within the site.

    ******* Even if I enter a relative URL in Link lists, they are automatically converted to absolute URLs. I.e. /Lists/Overview will automatically be converted to http://localhost/sites/dev/Lists/Overview. ************

    Now when I save site as template and move to to http://localhost/sites/live, the links in link lists still point to the dev server URLs (e.g. http://localhost/sites/dev/some page.aspx).

    I read somewhere that saving site as site template and then moving to live server will automatically change links. This obviously doesn't seem to work for me.

    Any help will be appreciated on how to migrate so that all links point to live site.

    Thanks in advance.

    Tuesday, May 17, 2011 11:24 PM

Answers

  • Hi,

    You can try an alternative way. Take STSADM backup of the site placed in Dev environment.

    Then use STSADM Restore to restore it in new Production URL. From the descroption it seems you have already created the site at production URL hence try running the command with -overwrite flag.

    I hope this will help you out.

    Thanks,

    Rahul Rashu

     

    • Marked as answer by David HM Thursday, May 26, 2011 1:29 AM
    Thursday, May 19, 2011 10:21 AM
  • Hi,

    In this scenario I suggest you to get in touch with Supporting group of your comapny's site and ask them to carry out the steps outlined earlier.

    I hope this will help.

    Thanks,

    Rahul Rashu

    • Marked as answer by David HM Thursday, May 26, 2011 1:29 AM
    Tuesday, May 24, 2011 6:14 AM

All replies

  • Hi Manu009a,

    Try Export Import command to achieve your goal.

    stsadm -o export -url <URL name> -filename <export file name> -versions 4

    stsadm -o import -url <URL name> -filename <import file name> -updateversions 3


    Warm Regards, Pratik Vyas | SharePoint Consultant | http://sharepointpratik.blogspot.com/
    Thursday, May 19, 2011 10:09 AM
  • Hi,

    You can try an alternative way. Take STSADM backup of the site placed in Dev environment.

    Then use STSADM Restore to restore it in new Production URL. From the descroption it seems you have already created the site at production URL hence try running the command with -overwrite flag.

    I hope this will help you out.

    Thanks,

    Rahul Rashu

     

    • Marked as answer by David HM Thursday, May 26, 2011 1:29 AM
    Thursday, May 19, 2011 10:21 AM
  • Hi Pratik,

    Unfortunately I do not have access to STSADM or any other development environment.

    Yes, I can use SharePoint Designer though.

    Any other ideas please?

    Thanks a lot!

    Monday, May 23, 2011 8:26 PM
  • Hi Rashu,

    Unfortunately I do not have access to STSADM or any other development environment.

    Yes, I can use SharePoint Designer though.

    Any other ideas please?

    Thanks a lot!

    Monday, May 23, 2011 8:27 PM
  • Munna,

    Did you use out of the box content deployment to deploy the content? Also, is the problem of relative urls occurring using any specific webpart?

    There might be a few limited options as you do not have access to stsadm.Here are couple of options of moving content.

     

    Above are few methods you could use to back up and restore a site. Stsadm is ruled out in this case as you do not have access to it. The other preferred option would be to use the deployment wizard or the manager. You would need server access to  use these tools.

    The only other option left would be using SharePoint Designer. Take a look at the article and see if it helps. If you are running out of options, you might considering creating the site manually. and copying the library data using windows explorer.

     

     


    V
    Monday, May 23, 2011 8:45 PM
  • Unfortunately I do not have server access either. My company gives us only a Site Collection.

    Any other ideas please?

    Thanks!

    Monday, May 23, 2011 9:02 PM
  • Hi,

    In this scenario I suggest you to get in touch with Supporting group of your comapny's site and ask them to carry out the steps outlined earlier.

    I hope this will help.

    Thanks,

    Rahul Rashu

    • Marked as answer by David HM Thursday, May 26, 2011 1:29 AM
    Tuesday, May 24, 2011 6:14 AM
  • Manu,

    As told before, the only available options are the ones described in earlier post. You will have to work with the administrator to do these jobs. They are part and parcel of sharepoint administration. Any other method will involve coding which inturn will involve server deployment.

     


    V
    Tuesday, May 24, 2011 9:27 PM