Redirecting MTPS content to Open Publishing Content (i.e. migration from MTPS to Open Publishing)
If you are migrating your content from MTPS (published with PWS or the Build Sytem) to Open Publishing, we recommend to apply 301 redirection from the MTPS content to the OP content.
It is important to coordinate the redirection with your go live date. Otherwise, search engines might penalize your content for being published in two different sites.
3 days before going live, open a ticket for our team to work on the redirection:
- Go to MSDNHelp site
- Select the tile labeled Customer Support Requests.
- Allow the application to access your account info
- Download and fill out the Redirect or Remove template.
- Under Request type, please select "Redirect".
- Add the date you will go live in the Description field.
- Click on Submit.
- Please make sure you fill out the filled redirection template.
Our Service Engineer will contact you with any questions and to coordinate the redirection.
On the day you go live
- Publish your OP content live.
- Notify the Service Engineer that your content is live and he can do the redirection.
You do no need to re-publish your MTPS content. We will set the content as NoIndex/NoFollow and remove it from search engines for you as part of the redirection.
How to test site level redirections
Site level redirections might be complicated and it is always safer to test them before they are deployed. This is how to spoof the IP using the offline servers, courtey of Joshua Edvin.
- Download and install Fiddler
Open Fiddler and to to the Host file via Tools -> Hosts
Click on Enable remamping of requests from one host to a different host or IP, overriding DNS.
Enter the IP address of the server along with the FQDN of the site and click on save. Here is the information for each of the sites:
- 126.96.36.199 msdn.microsoft.com
- 188.8.131.52 technet.microsoft.com
- 184.108.40.206 visualstudio.com
Go to the composer tab and paste the test URL. For example, https://msdn.microsoft.com/windows/hardware/commercialize/test/wpt/whats-new-in-the-windows-performance-toolkit and click enter or execute.
A certificate error might pop up. If so, Click YES.
Observe on the left hand side if the URL has been redirected with a 301
Double click on the URL on the left hand column to see more details on the URL request. You should see the location of the redirect as seen below. Also make sure the X-instance for the msdn URL returns CO105 in the response header. That confirms that you hit the firstoffline machine.