More Updates from Google Regarding Mobile and How Search Results are Displayed

Google is dropping bombs on webmasters left and right when it comes to what they expect from mobile versions of websites.

A client running a Woocommerce & WordPress site (she sells meditation cushions, zafus, zabutons, all made in Canada, go check the site out!) pointed another one out to me today, which has to do with how your site will appear in mobile searches.

Luckily, it’s a pretty easy fix. Right from Google’s Webmaster Central Blog, with some modifications for WordPress sites:

<script type="application/ld+json">
{ "@context" : "http://schema.org",
"@type" : "WebSite",
"name" : "<?php echo get_bloginfo('name'); ?>",
"url" : "<?php echo get_bloginfo('url'); ?>"
}
</script>

You can paste that into your site’s footer.php, just before the closing </body> tag.

All this does is add a little microdata to tell Google the name of your site and the URL. So what exactly will this do?

Well, if you’re in the US, instead of your search results being displayed like so:

The current / old way Google displays results, with your domain name listed.
The current / old way Google displays results, with your domain name listed.

You’ll get this:

The new way Google will display results, with a website name instead of the entire domain name.
The new way Google will display results, with a website name instead of the entire domain name.

A subtle change, but for sites that use www as their preferred domain and those which have really long domain names, this frees up a few extra characters for Google to fit more information into their results.

Breadcrumbs will also be used, too, though I’m still working on the best way to present that data to Google without necessarily needing to display breadcrumbs on every page of your site.

Up Next: How to Easily Setup 301 Redirects for WordPress Sites / Permalink Changes