DocID breaks when site changes name

Daniel M 126 Reputation points
2020-10-02T14:21:01.327+00:00

Hi,

Quick question, I think.

It seems reasonable to believe that DOCID links break when the subsite changes name. For instance:

https://portal/subsite/_layouts/DocIdRedir.aspx?ID=XXXXX-125-10

The subsite named "subsite" changes name to "subsiterename"

https://portal/subsiterename/_layouts/DocIdRedir.aspx?ID=XXXXX-125-10

So, this means that all the old links to the document is broken? There is no mechanism that tracks the name changes of subsites and points you in the right direction?
I mean, after all. The document has done nothing wrong? :)

/Daniel

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,422 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ChelseaWu-MSFT 6,331 Reputation points
    2020-10-05T06:11:22.85+00:00

    This is the expected behavior since the Document ID links are redirect links for the documents.
    Document IDs is meant for providing an easy way to track items regardless of their location. What matters is the Document ID itself instead of the link.
    The Document ID links update themselves when the daily Document ID Assignment job runs after you change the name of the subsite, so that they continue working in the site.

    Currently, there is no tool or mechanism to maintain the Document ID links.
    If you are looking for a way to keep the original links, you can refer to the article here for methods on URL redirect: List of useful SharePoint redirect rules for URL Rewrite.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    **Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. **

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.