{"id":886,"date":"2017-03-07T15:59:01","date_gmt":"2017-03-07T21:59:01","guid":{"rendered":"http:\/\/www.idubbs.com\/blog\/?p=886"},"modified":"2017-03-07T15:59:01","modified_gmt":"2017-03-07T21:59:01","slug":"sharepoint-online-public-websites-replace-with-wordpress","status":"publish","type":"post","link":"https:\/\/www.idubbs.com\/blog\/2017\/sharepoint-online-public-websites-replace-with-wordpress\/","title":{"rendered":"SharePoint Online Public WebSites &ndash; Replace with WordPress"},"content":{"rendered":"<h2>Before, and Now<\/h2>\n<p>Earlier iterations of SharePoint Online \/ Office365 included a public site. This was a simplified version of a site collection, a simple content management solution that produced a \u2018brochure-ware\u2019 type site. Microsoft announced that these sites would be going away and in March \u201815 new public sites could no longer be created. Existing sites could continue for the time being. <\/p>\n<p>The latest information on these changes can be found here: <br \/><a title=\"https:\/\/support.microsoft.com\/en-us\/help\/3027254\/information-about-changes-to-the-sharepoint-online-public-website-feature-in-office-365\" href=\"https:\/\/support.microsoft.com\/en-us\/help\/3027254\/information-about-changes-to-the-sharepoint-online-public-website-feature-in-office-365\">https:\/\/support.microsoft.com\/en-us\/help\/3027254\/information-about-changes-to-the-sharepoint-online-public-website-feature-in-office-365<\/a>&nbsp;<\/p>\n<p>Pay particular note of the important dates listed in this article. Public sites can be extended, but will eventually be deleted. <\/p>\n<p>The original public SharePoint site was intended to be a \u2018brochure-ware\u2019 type solution: Still based in SharePoint and easy to update, but really just a few static pages. As with anything in SharePoint, users figured out how to hack and pick it apart into something more. IMO something beyond what Microsoft intended. For whatever reason, public sites were officially deprecated. So, time to find an alternative. <\/p>\n<h2>Moving forward<\/h2>\n<p>Microsoft does have info for migrating to partners and hosts: <br \/><a title=\"https:\/\/support.office.com\/en-us\/article\/Migrate-your-SharePoint-Online-Public-Website-to-a-partner-website-cd0b5af5-d23f-4195-801e-145ec62604b3?ui=en-US&amp;rs=en-US&amp;ad=US\" href=\"https:\/\/support.office.com\/en-us\/article\/Migrate-your-SharePoint-Online-Public-Website-to-a-partner-website-cd0b5af5-d23f-4195-801e-145ec62604b3?ui=en-US&amp;rs=en-US&amp;ad=US\">https:\/\/support.office.com\/en-us\/article\/Migrate-your-SharePoint-Online-Public-Website-to-a-partner-website-cd0b5af5-d23f-4195-801e-145ec62604b3?ui=en-US&amp;rs=en-US&amp;ad=US<\/a>&nbsp;<\/p>\n<p>For my particular needs, I\u2019m going to replace my SharePoint public website with WordPress. I\u2019m already using it for my blog and you can easily create static pages. The management of pages is very easy. The platform is extensively used \u2013 both as a hosted option from WordPress itself, and through many hosting providers as a service. Once WordPress is set up it\u2019s extremely easy to update. I can also use the blog capabilities later if needed. Because of the popularity of the platform, there are also a plethora of plugins that offer additional functionality \u2013 like embedding other blogs.<\/p>\n<h2>WordPress Basics<\/h2>\n<p>I don\u2019t want to get into too much \u201chow do you use WordPress\u201d as there are plenty of great resources out there. For this use case I\u2019m going to point out details that were useful to migrate from SharePoint public website to a WordPress solution. <\/p>\n<h3>Setup and hosting<\/h3>\n<p>First, you need to find a place to host your WordPress site. The easiest is probably WordPress.com, but there are plenty of third party web hosts that are set up specifically to host sites as well. <a title=\"https:\/\/wordpress.org\/hosting\/\" href=\"https:\/\/wordpress.org\/hosting\/\">https:\/\/wordpress.org\/hosting\/<\/a> You can also install WordPress yourself. Or, you can host WordPress on Azure. <br \/><a title=\"https:\/\/channel9.msdn.com\/blogs\/Azure-in-Information-Systems\/How-To-Create-A-WordPress-BlogSite-on-Microsoft-Azure\" href=\"https:\/\/channel9.msdn.com\/blogs\/Azure-in-Information-Systems\/How-To-Create-A-WordPress-BlogSite-on-Microsoft-Azure\">https:\/\/channel9.msdn.com\/blogs\/Azure-in-Information-Systems\/How-To-Create-A-WordPress-BlogSite-on-Microsoft-Azure<\/a>&nbsp;<\/p>\n<p>If you\u2019ve got an existing site, you\u2019ll likely get your site set up on a temporary address \u2013 an Azure address, a WordPress address, or something specific from your host &#8211; before configuring your actual domain name to point to it. More on that later. <\/p>\n<h3>Plugins<\/h3>\n<p>Once you\u2019ve got the main platform installed, you can take a look at plugins. I\u2019ve got three main plugins activated on my site: Akismet, Jetpack, Hide Title, and WPtouch. <\/p>\n<p>Akismet is primarily for spam protection. If you have comments enabled, you\u2019ll want to use Akismet to keep spam comments in line. It\u2019ll block many automatically and flag others for review. If you\u2019re only using the brochure-ware features \u2013 static pages &#8211; of WordPress and not using the blog, I\u2019d just turn comments off. This also makes Akismet not needed.<\/p>\n<p>Jetpack is a plugin from WordPress.com that extends features usually only available on WordPress.com hosted sites. I like to use the site statistics, but Jetpack also brings a contact form as well. <\/p>\n<p>Hide Title was used to clean up the static home page by hiding the default page title. As a blog it\u2019s nice to have the page title displayed, but as a home page you want to see the name of the blog. <\/p>\n<p>WPtouch Mobile enables a mobile-friendly version of your site without having to do anything else. <\/p>\n<h3>Migration of content<\/h3>\n<p>Next, you will be bringing your content over or creating new content. In my case it had been more than long enough to review and update my content at the same time. Regardless of the status of your existing content, it\u2019s likely best to start by inventorying pages, content, and any functionality. <\/p>\n<p>Create pages and navigation links in WordPress. (plenty of info on this out there\u2026)<\/p>\n<p>By default, a WordPress site is set up for blogging. You can easily switch the configuration to look more like a non-blog site with a static home page. Follow the directions here for creating a static homepage rather than the normal blog home page. <br \/><a title=\"https:\/\/codex.wordpress.org\/Creating_a_Static_Front_Page\" href=\"https:\/\/codex.wordpress.org\/Creating_a_Static_Front_Page\">https:\/\/codex.wordpress.org\/Creating_a_Static_Front_Page<\/a><\/p>\n<p>If you were using a contact form as part of that SharePoint public website, you can easily replace it with a Jetpack contact form: Create a Contact Form<br \/><a title=\"https:\/\/jetpack.com\/support\/contact-form\/\" href=\"https:\/\/jetpack.com\/support\/contact-form\/\">https:\/\/jetpack.com\/support\/contact-form\/<\/a>&nbsp;<\/p>\n<p>Be cautious of cutting and pasting content as odd HTML can be brought across. I ended up switching back and forth between the Visual editor and \u2018Text\u2019 editor (where you can see HTML) to clean up the tagging. The main issues I saw were with &lt;div&gt; tags causing weird spacing. Once I cleared those out things went much easier. <\/p>\n<p>Themes. Depending on the theme you choose, you might end up splitting content across a few more pages. I found that the theme I used took up more space \u2013 so looked at logical ways to split text up into additional pages. I\u2019m using \u2018Twenty Sixteen\u2019 for the moment \u2013 mostly because that\u2019s what I have for my blog. I may change it out to get a slightly different look. <\/p>\n<h3>Flipping the switch<\/h3>\n<p>Now that the site is up and configured and content has been migrated, updated, or created \u2013 it\u2019s time to get the domain switched from O365 to the new site. <\/p>\n<p>IMPORTANT \u2013 if you\u2019re going to continue using O365 for everything else \u2013 including email \u2013 you are ONLY switching the domain configuration for the public website, not the entire domain. This requires a little more configuration. <\/p>\n<p>Network configuration is NOT my forte\u2026 but the documentation is pretty good and the support folks I spoke with were very helpful. The players here include: O365 administration, your web host, and your DNS host. I found the following to be helpful. <\/p>\n<p><a title=\"https:\/\/support.office.com\/en-us\/article\/Update-DNS-records-to-keep-your-website-with-your-current-hosting-provider-2c4cf347-b897-45c1-a71f-210bdc8f1061\" href=\"https:\/\/support.office.com\/en-us\/article\/Update-DNS-records-to-keep-your-website-with-your-current-hosting-provider-2c4cf347-b897-45c1-a71f-210bdc8f1061\">https:\/\/support.office.com\/en-us\/article\/Update-DNS-records-to-keep-your-website-with-your-current-hosting-provider-2c4cf347-b897-45c1-a71f-210bdc8f1061<\/a><\/p>\n<p><a title=\"https:\/\/support.office.com\/en-us\/article\/Add-or-edit-custom-DNS-records-in-Office-365-af00a516-dd39-4eda-af3e-1eaf686c8dc9?ui=en-US&amp;rs=en-US&amp;ad=US#cantedit\" href=\"https:\/\/support.office.com\/en-us\/article\/Add-or-edit-custom-DNS-records-in-Office-365-af00a516-dd39-4eda-af3e-1eaf686c8dc9?ui=en-US&amp;rs=en-US&amp;ad=US#cantedit\">https:\/\/support.office.com\/en-us\/article\/Add-or-edit-custom-DNS-records-in-Office-365-af00a516-dd39-4eda-af3e-1eaf686c8dc9?ui=en-US&amp;rs=en-US&amp;ad=US#cantedit<\/a><\/p>\n<p><a title=\"https:\/\/support.office.com\/en-us\/article\/Create-DNS-records-for-Office-365-at-any-DNS-hosting-provider-7B7B075D-79F9-4E37-8A9E-FB60C1D95166?ui=en-US&amp;rs=en-US&amp;ad=US#bkmk_add_cname\" href=\"https:\/\/support.office.com\/en-us\/article\/Create-DNS-records-for-Office-365-at-any-DNS-hosting-provider-7B7B075D-79F9-4E37-8A9E-FB60C1D95166?ui=en-US&amp;rs=en-US&amp;ad=US#bkmk_add_cname\">https:\/\/support.office.com\/en-us\/article\/Create-DNS-records-for-Office-365-at-any-DNS-hosting-provider-7B7B075D-79F9-4E37-8A9E-FB60C1D95166?ui=en-US&amp;rs=en-US&amp;ad=US#bkmk_add_cname<\/a><\/p>\n<p>What I don\u2019t like about these settings is needing to wait for them to propagate out through the web. Some settings will appear to be implemented immediately while others might take up to a day to kick in. Not fun for troubleshooting. Be sure to stay on top of the changes though as they can easily affect email as well. <\/p>\n<h3>What\u2019s next?<\/h3>\n<p>Themes. There are TONS of these available. You can spend all kinds of time looking for and testing WordPress themes on your site. <\/p>\n<p>With all the fun stuff coming from Microsoft along the lines of PowerApps and Flow, are there any cool scenarios that might work with the WordPress site? There IS a connector\u2026 Move content from your internal SharePoint site to WordPress? Automate emails from your contact form? <\/p>\n<p>Things to look into. <img decoding=\"async\" class=\"wlEmoticon wlEmoticon-smile\" style=\"border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none\" alt=\"Smile\" src=\"http:\/\/www.idubbs.com\/blog\/wp-content\/uploads\/2017\/03\/wlEmoticon-smile.png\">&nbsp;<\/p>\n<h3>Notes<\/h3>\n<p>Depending on the details of your public site, you might require more robust content management capabilities or custom functionality. WordPress is only one of many options available. A custom site may be a better fit as well. Having started playing with PHP, Bootstrap, and other standard web tools they could easily spin up a simple site that fits the needs of the site. \u2018It depends\u2019 extends beyond SharePoint. <img decoding=\"async\" class=\"wlEmoticon wlEmoticon-winkingsmile\" style=\"border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none\" alt=\"Winking smile\" src=\"http:\/\/www.idubbs.com\/blog\/wp-content\/uploads\/2017\/03\/wlEmoticon-winkingsmile.png\">&nbsp;<\/p>\n<h2>References<\/h2>\n<ul>\n<li>The site I migrated using this approach is <a href=\"http:\/\/www.trecstone.com\">www.trecstone.com<\/a> <\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Before, and Now Earlier iterations of SharePoint Online \/ Office365 included a public site. This was a simplified version of a site collection, a simple content management solution that produced [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[10,21,30],"tags":[115,116],"class_list":["post-886","post","type-post","status-publish","format-standard","hentry","category-office365","category-sharepoint-online","category-trecstone","tag-public-websites","tag-wordpress"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pgWQ1-ei","jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts\/886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/comments?post=886"}],"version-history":[{"count":1,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts\/886\/revisions"}],"predecessor-version":[{"id":887,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts\/886\/revisions\/887"}],"wp:attachment":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/media?parent=886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/categories?post=886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/tags?post=886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}