Sometimes consultants are hired to clean up code that is riddled with bad development practices. In this session we will discuss a specific scenario where code was migration from a single pages library to a site collection with sub-sites. We will discuss the various trials involved with the migration of security, pages, master pages, layout pages, inline images, documents, links, and the creation of site definitions. We will also discuss preventative methods, so that this type of migration will never exist.