Title: Include Sitename in Search Results
Author: apasionados
Published: <strong>April 19, 2015</strong>
Last modified: February 1, 2026

---

Search plugins

![](https://ps.w.org/include-sitename-in-search-results/assets/banner-772x250.png?
rev=1138402)

![](https://ps.w.org/include-sitename-in-search-results/assets/icon-128x128.png?
rev=1138402)

# Include Sitename in Search Results

 By [apasionados](https://profiles.wordpress.org/apasionados/)

[Download](https://downloads.wordpress.org/plugin/include-sitename-in-search-results.1.3.zip)

 * [Details](https://wordpress.org/plugins/include-sitename-in-search-results/#description)
 * [Reviews](https://wordpress.org/plugins/include-sitename-in-search-results/#reviews)
 *  [Installation](https://wordpress.org/plugins/include-sitename-in-search-results/#installation)
 * [Development](https://wordpress.org/plugins/include-sitename-in-search-results/#developers)

 [Support](https://wordpress.org/support/plugin/include-sitename-in-search-results/)

## Description

This plugin adds the JSON-LD schema.org markup for including the Site Name in Search
Results on the homepage.

This new feature was presented on the [Official Google Webmaster Central Blog](http://googlewebmastercentral.blogspot.com.es/2015/04/better-presentation-of-urls-in-search.html)(
Thursday, April 16, 2015 ). There is more info on the [Google Developers Website](https://developers.google.com/structured-data/site-name).

Use structured data markup on your public website to indicate the preferred name
you want Google to display in Search results. You can also provide more than one
possible name for your site, and let Google Search algorithms choose between them.
Once Google has crawled and indexed the updated page, we can use the provided name
in Search results as shown in the screenshot.

> If you use **WordPress SEO by Yoast version 1.6 or newer**, you don’t need to 
> use this plugin, as this feature has been included in the version 1.6 update. 
> There is more information in the [FAQ section](https://wordpress.org/plugins/include-sitename-in-search-results/faq/)
> of the plugin.

#### What can I do with this plugin?

This plugin adds the JSON-LD schema.org markup for including the Site Name in Search
Results on the homepage.

After activating the plugin you have to configure the Name you want Google to display
in your search results instead of the domain name.

When Google next crawls your page, its indexing algorithms will process the site
name specified by your markup and make it eligible to be used in Search results.
Note: It can take some time before you see a change to the presentation of your 
site in Search results. Also, Google’s algorithms might choose not to use the name
you provided, or not might choose to show the domain name instead.

#### INCLUDE SITENAME IN SEARCH RESULTS in your Language!

This first release is avaliable in English and Spanish. In the languages folder 
we have included the necessary files to translate this plugin.

If you would like the plugin in your language and you’re good at translating, please
drop us a line at [Contact us](http://apasionados.es/contacto/index.php?desde=wordpress-org-includesitenamesearchresults-home).

#### Further Reading

You can access the description of the plugin in Spanish at: [Include Sitename in Search Results en castellano](http://apasionados.es/blog/).

### Contact

For further information please send us an [email](http://apasionados.es/contacto/index.php?desde=wordpress-org-includesitenamesearchresults-contact).

### Translating WordPress Plugins

The steps involved in translating a plugin are:

 1. Run a tool over the code to produce a POT file (Portable Object Template), simply
    a list of all localizable text. Our plugins allready havae this POT file in the/
    languages/ folder.
 2. Use a plain text editor or a special localization tool to generate a translation
    for each piece of text. This produces a PO file (Portable Object). The only difference
    between a POT and PO file is that the PO file contains translations.
 3. Compile the PO file to produce a MO file (Machine Object), which can then be used
    in the theme or plugin.

In order to translate a plugin you will need a special software tool like [poEdit](http://www.poedit.net/),
which is a cross-platform graphical tool that is available for Windows, Linux, and
Mac OS X.

The naming of your PO and MO files is very important and must match the desired 
locale. The naming convention is: `language_COUNTRY.po` and plugins have an additional
naming convention whereby the plugin name is added to the filename: `pluginname-
fr_FR.po`

That is, the plugin name name must be the language code followed by an underscore,
followed by a code for the country (in uppercase). If the encoding of the file is
not UTF-8 then the encoding must be specified.

For example:

 * en_US – US English
 * en_UK – UK English
 * es_ES – Spanish from Spain
 * fr_FR – French from France
 * zh_CN – Simplified Chinese

A list of language codes can be found [here](http://en.wikipedia.org/wiki/ISO_639),
and country codes can be found [here](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
A full list of encoding names can also be found at [IANA](http://www.iana.org/assignments/character-sets).

## Screenshots

[⌊INCLUDE SITENAME IN SEARCH RESULTS Settings page⌉⌊INCLUDE SITENAME IN SEARCH RESULTS
Settings page⌉[

INCLUDE SITENAME IN SEARCH RESULTS Settings page

[⌊Homepage source code example and check with Testing Tool⌉⌊Homepage source code
example and check with Testing Tool⌉[

Homepage source code example and check with Testing Tool

[⌊Example of search results with implemented markup (before and after)⌉⌊Example 
of search results with implemented markup (before and after)⌉[

Example of search results with implemented markup (before and after)

## Installation

 1. Upload the `sitelinks-search-box` folder to the `/wp-content/plugins/` directory(
    or to the directory where your WordPress plugins are located)
 2. Activate the INCLUDE SITENAME IN SEARCH RESULTS plugin through the ‘Plugins’ menu
    in WordPress.
 3. Go to settings / Include Sitename in Search Results and configure the website name
    and the alternative website name. If you don’t configure them, the plugin uses 
    the site name (set in SETTINGS / GENERAL).

Please use with _WordPress MultiSite_ at your own risk, as it has not been tested.

If you use _WordPress SEO by Yoast_ version 1.6 or newer (presented on September,
11th 2014), you don’t need this plugin. More info on our [Frequently Asked Questions page](https://wordpress.org/plugins/include-sitename-in-search-results/faq/).

## FAQ

### What is INCLUDE SITENAME IN SEARCH RESULTS good for?

This plugin adds the JSON-LD schema.org markup for including the Site Name in Search
Results on the homepage.

### Does INCLUDE SITENAME IN SEARCH RESULTS make changes to the database?

The plugin creates a new option in the options table: ap_issr with values ap_issr_name
and ap_issr_alternateName where the settings of the domain name and alternative 
domain name are saved.

### How can I check out if the plugin works for me?

Install and activate. Empty cache (if any cache plugin installed) and have a look
at the source code of the homepage. At the end there should be the JSON-LD markup.

You can also check with the [Structured Data Linter](http://linter.structured-data.org/)
that the JSON-LD markup is correctly implemented. Or you can check with it [Google Developer](https://developers.google.com/structured-data/testing-tool/)
but you have to be logged in a Google account.

### How can I remove INCLUDE SITENAME IN SEARCH RESULTS?

You can simply activate, deactivate or delete it in your plugin management section.

### Are there any known incompatibilities?

Please don’t use it with _WordPress MultiSite_, as it has not been tested.

If you use [WordPress SEO by Yoast](https://wordpress.org/plugins/wordpress-seo/)
version 1.6 or newer, you don’t need to use this plugin, as this feature has been
included in the version 1.6 update. There is more info here: [Yoast Changelog](https://wordpress.org/plugins/wordpress-seo/changelog/).

### Do you make use of INCLUDE SITENAME IN SEARCH RESULTS yourself?

Of course we do. 😉

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Include Sitename in Search Results” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ apasionados ](https://profiles.wordpress.org/apasionados/)

[Translate “Include Sitename in Search Results” into your language.](https://translate.wordpress.org/projects/wp-plugins/include-sitename-in-search-results)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/include-sitename-in-search-results/),
check out the [SVN repository](https://plugins.svn.wordpress.org/include-sitename-in-search-results/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/include-sitename-in-search-results/)
by [RSS](https://plugins.trac.wordpress.org/log/include-sitename-in-search-results/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3 (01feb2026)

 * The update fixes the early translation-loading error by moving all localization
   to init, removes unused translation calls, and improves security and robustness
   by safely encoding JSON-LD, properly escaping output, hardening option handling,
   and adding standard WordPress guards and best practices.

#### 1.2

 * Added check to see if Yoast SEO plugin is active (if it’s active this plugin 
   doesn’t show any info) + Updated readme.txt file with info about “WordPress SEO
   by Yoast” including this markup in their plugin from version 1.6 on. If you use
   WordPress SEO by Yoast version 1.6 or newer, you don’t need this plugin.

#### 1.1

Updated get_site_url() to get_home_url() to match guideline “url – This property
specifies the URL of your website. It must match the canonical URL of your domain’s
homepage”.

#### 1.0

 * First release.

## Meta

 *  Version **1.3**
 *  Last updated **6 months ago**
 *  Active installations **100+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **6.9.5**
 * Tags
 * [google](https://wordpress.org/plugins/tags/google/)[search engines](https://wordpress.org/plugins/tags/search-engines/)
   [search results](https://wordpress.org/plugins/tags/search-results/)
 *  [Advanced View](https://wordpress.org/plugins/include-sitename-in-search-results/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/include-sitename-in-search-results/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/include-sitename-in-search-results/reviews/)

## Contributors

 *   [ apasionados ](https://profiles.wordpress.org/apasionados/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/include-sitename-in-search-results/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://apasionados.es/)