· Chris Hammond
Last Updated
Migrating to Community Server from DotText (.Text)
Upgrade your website from .Text and nGallery to CommunityServer smoothly. Learn how to fix old link issues for better SEO and user experience.
So I finally converted ChrisHammond.com from .Text and nGallery to the latest released version of CommunityServer. It didn't go over without a few hitches. The biggest problem I had was that the old links wouldn't work for the website, so all of the previously indexed pages for the website would be invalid, I'll document how I upgraded, and what I did to fix the issues in this thread, it's a work in progress.
- Setup a blank CS 1.0 database and installation site.
- Use the DotText to CommunityServer conversion tool
- Create a new Gallery in CommunityServer for the following step.
- Use the nGallery to CommunityServer Conversion tool.
- Upgraded from CS1.0 to CS1.1
- Used the siteUrl configuration tool from Ken.
- I setup single site with a single blog in the /blogs/ URL and multiple galleries.
- Modified the siteurl.config file.
- I had to add the following lines to the siteurl.config file to get the old archive links working properly.
<url name = "oldweblogIndividualRss" location = "common" path="rss.aspx" pattern="rss.aspx" vanity="/blogs/rss.aspx?App=christoc" />
<url name = "oldweblogday" location = "common" path="/archive/{1}/{2}/{3}.aspx" pattern="archive/(\d{4})/(\d{1,2})/(\d{1,2})\.aspx" vanity="/blogs/day.aspx?App=christoc&y=$1&m=$2&d=$3" />
<url name = "oldweblogmonth" location = "common" path="/archive/{1}/{2}.aspx" pattern="archive/(\d{4})/(\d{1,2})\.aspx" vanity="/blogs/month.aspx?App=christoc&y=$1&m=$2&d=1" />
<url name = "oldweblogpostId" location = "common" path="/archive/{1}/{2}/{3}/{4}.aspx" pattern="archive/(\d{4})/(\d{1,2})/(\d{1,2})/(\d+)\.aspx" vanity="/blogs/post.aspx?App=christoc&y=$1&m=$2&d=$3&PostID=$4" />
<url name = "oldweblogpostcategory" location = "common" path="/archive/category/{1}.aspx" pattern="archive/category/(\d+)\.aspx" vanity="/blogs/postcategory.aspx?App=christoc&CT=BlogPost&CategoryID=$1" />
<url name = "oldweblogarticlecategory" location = "common" path="/articles/category/{1}.aspx" pattern="articles/category/(\d+)\.aspx" vanity="/blogs/articlecategory.aspx?App=christoc&CT=BlogArticle&CategoryID=$1" />