header image
 

How to migrate WordPress.com blog to WordPress hosted on Azure–Part 2



Greetings folks,

completing the series with “How to migrate WordPress.com blog to WordPress hosted on Azure – Part 2”, I will cover the following:

5.   Custom domain name for your Azure WordPress Blog (Optional)
6.   Configure WordPress.com redirection to Azure blog (Optional)
7.   Installing plugins for similar experience with WordPress.com (Optional but recommended)

You can access Part 1 here:  “How to migrate WordPress.com blog to WordPress hosted on Azure – Parte 1” for the following topics:

1.   Login or Subscribe Microsoft Azure
2.   Create WordPress blog on Microsoft Azure
3.   Configure Azure Web Hosting Plan for WordPress web site
4.   Migrate your blog content from WordPress.com to your WordPress blog hosted on Azure

5.   Custom domain name for your Azure WordPress Blog (Optional)

As we are moving a WordPress.com blog to a self-managed solution on Microsoft Azure, you probably want to turn it more personal with a custom domain name (http://www.yourdomain.com).

5.1 Create required DNS Records on your custom domain

You can use whatever domain register service you want, I usually go for Godaddy due to Office 365 integration and acceptable costs.

When you’ve created your WordPress blog on Microsoft Azure, you registered your new blog for free on “.azurewebsites.net” with a URL like this  “http://yourblog.azurewebsites.net”.

Assuming that you already have a registered domain (YOURDOMAIN.COM), if not register a new one, you need to create a “CNAME” record that will point your domain hostname (e.g. “WWW” to access your blog through “www.yourdomain.com”) to the Fully Qualified Domain Name (FQDN) of your blog hosted on Azure (“yourblog.azurewebsites.net”).

5.1.1 To perform this action, login with your Godaddy account, on the Top menu options select “Domain” and click on “Manage My Domains”.

godaddy_domain

5.1.2 On your Domains screen click on your Domain name to open it’s details.

godaddy_domain1

5.1.3 On your Domain details and action screen click on the “Add record” button.

godaddy_domain2

5.1.4 On the record type select “CNAME (Alias)”, on the Host field insert your desired host name (e.g. WWW) and on the Points to field insert the Fully Qualified Domain Name of your Azure Blog (yourblog.azurewebsites.net).

Click on the “Save” button to complete the action.

godaddy_domain3

5.2 Configure Azure Web site host headers with the new blog URL

Now that you have the required DNS records, you need to add the new URL address to Azure Blog web site host headers.

5.2.1 On your browser access to “https://manage.windowsazure.com” with your subscription account.


From the left pane click on “Web Sites” and click on your Web site name to jump into it’s details.

azure_website8

5.2.2 On your web site details click on “Configure

azure_hostheader

5.2.3 Scroll-down until you see the “domain names” section, click on “manage domains

azure_hostheader1

5.2.4 On Manage custom domains screen type your custom domain name “www.yourdomain.com”. As you already created the required CNAME record on your DNS Service you can proceed and click on the bottom-right checkmark button.

azure_hostheader2

 

5.3 Configure your custom domain URL on Azure WordPress Blog

To complete the process, you need to update your Azure WordPress Blog with your custom domain URL.

5.3.1 Login to your new Azure Blog on the left pane of your Dashboard screen clcik on “Settings” to open “General Setting”.

From there you need to fill the “WordPress Address (URL)” and “Site Address (URL)” with your custom domain address “http://your.domain.com” (same URL on both fields).

change URL2

 

6.   Configure WordPress.com redirection to Azure blog (Optional)

If you were running your WordPress.com blog for a while your Dashboard will show that part of your blog Page Views were coming from Search results or reference links from other Internet sources, such as Forums, blogs, Facebook, Twitter, etc.

6.1 Subscribe WordPress.com Site Redirect

If Page Views mean some sort of value to you, while migrating your blog to a hosting provider such as Azure, you should subscribe WordPress “Site Redirect” service. With that you can redirect the access of your previous WordPress.com blog to your new Blog on Azure.

This service has an affordable annual cost and is optional. To subscribe the service do the following:

6.1.1 Login to your WordPress.com blog with your account, on the Dashboard left pane click on “Store –> Store”.

wp_redirect

6.1.2 Scroll-down until you’ll find “Site Redirect” and click on “Buy now

wp_redirect1

6.1.3 On the next screen you will see that you are about to redirect your old blog “http://oldblog.wordpress.com” to your new blog address. Fill in your new blog address “http://www.yourdomain.com” and click on “Redirect to this URL

wp_redirect2

6.1.4 Complete the payment steps and you are done with the service subscription.


 

6.2 Configure Permanent Links format

When you use Site Redirection it is critical that you configure your Azure Blog with the same Permanent Links format that you had on your blog at WordPress.com. If you miss this step, you will manage to redirect your WordPress.com blog default page http://yourblog.wordpress.com/ to your Azure Blog default page  http://www.yourdomain.com/ but the redirection to all your Posts Links will fail.

Example of Blog Posts redirection failure:
Wordpress.com Permanent Links format:
http://yourblog.wordpress.com/?p=123

WordPress Azure Blog Permanent Links format:
http://www.yourdomain.com/2014/05/27/kali-linux-1-o-7-has-been-released/

Example of Blog post redirection success:
Wordpress.com Permanent Links format:
http://yourblog.wordpress.com/2014/05/27/kali-linux-1-o-7-has-been-released/

WordPress Azure Blog Permanent Links format:
http://www.yourdomain.com/2014/05/27/kali-linux-1-o-7-has-been-released/

You can use whatever format you want but just make sure that you have the same format on both sides.

6.2.1 Login to your Azure Blog and on the Dashboard left pane click on “Settings” and “Permalinks

azure_permanent_links

6.2.2 On Permanent Settings I will select “Day and name” which is the same format that I was using on my blog at WordPress.com

azure_permanent_links1

 

7.   Installing plugins for a similar experience to WordPress.com (Optional but recommended)

To keep your blog with a similar functionality like you had on WordPress.com you need to install some plugins. Depending on your requirements I am just sharing some Plugins that might interest you.

To add plugins to your site, login to your WordPress blog and access your Dashboard, on the Left pane click on “Plugins –> Add new”.

Must have:
Acunetix WP Security (Security Scanner for your blog)
Akismet (Antispam)
Jetpack by WordPress.com (Blog essentials – see below)

Additional (recommended):
Google AdSense (Implement Adsense on your site)
Google Adsense Dashboard (Adsense earnings on your dashboard)
ELI’s WordCents adSense Widget w Analytics (Sidebar Adsense Widget)
Click-Fraud Monitoring (Prevent your Ad account Ban/Sabotage)
Jetpack Sharing (Share content on social media)

 

Jetpack 3.0 by WordPress.com Category Alphabetical:

Beautiful Math
Use LaTeX markup language in posts and pages for complex equations and other geekery.

Carousel
Transform standard image galleries into full-screen slideshows.

Contact Form
Insert a contact form anywhere on your site.

Custom CSS
Customize your site’s CSS without modifying your theme.

Enhanced Distribution
Share your public posts and comments to search engines and other services.

Extra Sidebar Widgets
Add images, Twitter streams, your site’s RSS links, and more to your sidebar.

Google+ Profile
Give users the ability to share posts to Google+, and add your site link to your Google+ profile.

GGravatar Hovercards
Enable pop-up business cards over commenters’ Gravatars.

Infinite Scroll
Add support for infinite scroll to your theme.

Jetpack Comments
Let readers comment with WordPress.com, Twitter, Facebook, or Google+ accounts.

Jetpack Single Sign On
Allow your users to log in using their WordPress.com accounts.

JSON API
Allow applications to securely access your content through the cloud.

Likes
Give visitors an easy way to show their appreciation for your content.

Markdown
Write posts or pages in plain-text Markdown syntax.

Mobile Theme
Optimize your site with a mobile-friendly theme for tablets and phones.

Monitor
Receive notifications from Jetpack if your site goes offline — and when it it returns.

Notifications
Receive notification of site activity via the admin toolbar and your Mobile devices.

Omnisearch
Search your entire database from a single field in your Dashboard.

Photon
Accelerate your site by loading images from the WordPress.com CDN.

Post by Email
Publish posts by email, using any device and email client.

Publicize
Share new posts on social media networks automatically.

Related Posts
Display links to your related content under posts and pages.

Sharing
Allow visitors to share your content on Facebook, Twitter, and more with a click.

Shortcode Embeds
Embed content from YouTube, Vimeo, SlideShare, and more, no coding necessary.

Site Verification
Verify your site or domain with Google Webmaster Tools, Pinterest, and others.
NEW

Spelling and Grammar
Check your spelling, style, and grammar with the After the Deadline proofreading service.

Subscriptions
Allow users to subscribe to your posts and comments and receive notifications via email.

Tiled Galleries
Display your image galleries in a variety of sleek, graphic arrangements.

VVaultPress Paid
Protect your site with automatic backups and security scans. (Subscription required.)

VideoPress Paid
Upload and host video right on your site. (Subscription required.)

Widget Visibility
Specify which widgets appear on which pages of your site.

WordPress.com Stats
Monitor your stats with clear, concise reports and no additional load on your server.

WP.me Shortlinks
Enable WP.me-powered shortlinks for all posts and pages.

 

I’ve completed the series of “How to migrate WordPress.com blog to WordPress hosted on Azure”.

 

R-Tape Loading error,
Luís Rato

~ by lrato on June 7, 2014.

Azure

Leave a Reply




 
%d bloggers like this: