Warning: No internal links appear in this page, consider adding some as appropriate.

Warning: No internal links appear in this page, consider adding some as appropriate.

It』s crucial for SEO to evaluate and improve your internal linking strategy on a regular basis. By adding the right internal links you make sure Google understands the relevance of pages, the relationship between pages and the value of pages.

Every website consists of internal and external links. Internal links connect pages and posts on your own website and external links connect your page to other websites. Want to get more external links to your site? Read our posts on link building.

To get a green bullet, you』ll have to add at least one internal link to your post.

Follow and nofollow

By default, Google follows every link on your site. If you don』t want Google to follow a specific link, you can use a nofollow link. A nofollow link provides a way for webmasters to tell search engines 「Don』t follow links on this page」 or 「Don』t follow this specific link.」

Related article: Warning: no outbound links appear in this page, consider adding some as appropriate.

Missing or Invalid Date in XML Sitemap

Missing or Invalid Date in XML Sitemap

Google Search Console (former Google Webmaster Tools) may flag your sitemap for a missing or invalid date in your sitemap.

Missing date on the sitemap index

An empty or missing date in the sitemap index typically means the individual sitemap is not available. Opening the individual sitemap with the missing date will display a 404 error. Please customize the sitemap and remove post types or taxonomies you are not using on your site.

Missing date on individual sitemaps (excluding the video sitemap)

An empty or missing date on an individual sitemap typically indicates an invalid timestamp in your database. Adding, updating and removing a minor change will refresh the date. Open the post displaying the invalid date in edit mode. Make a minor change to the content. For example, add 「This post has been updated.」 to the top of the content. Update the post to save changes. Remove the minor change you made in step 2. Update the post to save changes. Repeat steps 1-5 for all URLs with invalid dates. Purge cache, if applicable.

Missing date on the video sitemap

An invalid date in the sitemap typically indicates a miscommunication between our plugin and the WordPress database. Removing, updating and re-adding the video will refresh the date.

Open the post displaying the invalid date in edit mode.Remove the video.Update the post to save changes.Re-add the video.Update the post to save changes.Repeat steps 1-5 for all videos with invalid dates.Purge cache, if applicable.

We understand the above steps are tedious for sites with a large amount of videos with invalid dates. We are investigating alternative options at this time.

How to noindex an entire site

How to noindex an entire site

It』s possible to let search engines know you want to keep your entire site out of the search results. However, it』s up to the search engines to honor this request. To let search engines know you don』t want them to index your site, you can 『noindex』 your site in the WordPress settings. Let』s explore how to go about this.

Related articles

How do I noindex URLs?Why noindex a page or nofollow a link?How to keep your page out of the search resultsHow to noindex individual author pages

If you want to noindex your entire site, follow the steps below: Log in to your WordPress website. When you』re logged in, you will be in your 『Dashboard』. Click on 『Settings』. On the left-hand site, you will see a menu. In that menu, click on 『Settings』. Click on 『Reading』. The 『Settings』 section will expand providing you with additional options. Click on 『Reading』. Check 『Discourage search engines from indexing this site』. Click 『Save Changes』.

Sitemap Error: Unexpected publication name

Sitemap Error: Unexpected publication name

The error:

Unexpected publication name

Cause

Per the Google News troubleshooting guide, this error occurs when the name doesn』t match the name Google has for your site.

Solution

View the page source of your Google News sitemap using the steps here.Look for SITENAMEDo a Google News site search for your domain site:example.com.Does the name listed in Google match the name in your source code?

The names are the same

Please contact Google for further assistance here.

The names are different

Please change the Google News sitemap in our plugin to match the name used by Google. If your publication name is wrong in Google, please update your site name in their publisher center. Log in to your WordPress website. When you』re logged in, you will be in your 『Dashboard』. Click on 『SEO』. On the left-hand side, you will see a menu. In that menu, click on 『SEO』. Click on 『News SEO』. The 『SEO』 settings will expand providing you additional options. Click on 『News SEO』. Update the 『Google News Publication Name』 to match the name used by Google News. Click 『Save changes』.

How do I prevent sitemaps from being cached?

How do I prevent sitemaps from being cached?

Most cache plugins will, by default, be set up to not cache sitemap files. In the rare case your plugin or server is caching the sitemap,  please add an exclusion for the sitemap files to your cache plugin. The steps vary by cache plugin, so please select your cache plugin below.

When finished, be sure to clear your caching from your plugin, theme, server, browser, or CDN such as Cloudflare. If you are not sure how to clear your server caching, please speak with your host provider. If you need to clear your browser caching, this guide on how to clear your browser』s cache may help.

Table of contents

W3 Total Cache
WP Super Cache
WP Rocket
Another plugin or method
Disable transient caching

W3 Total Cache

By default, W3 Total Cache is setup to not cache the Yoast sitemaps. Enabling some W3 Total Cache features may cause the sitemaps to be cached.

404 errors for static objects

If you』re using the setting 『Do not process 404 errors for static objects with WordPress』, please add the following to the 『404 error exception list』 under Performance > Browser Cache > General (section).

Minify

If you』re using W3 Total Cache to minify your pages, please add the following to the 「Never minify the following pages:」 setting under Performance > Minify > Advanced (section).
sitemap(_index)?.xml(.gz)?[a-z0-9_-]*sitemap[a-z0-9_-]*.(xml|xsl|html)(.gz)?([a-z0-9_-]*)?.xml

WP Super Cache

Go to Settings  > WP Super Cache and click on the Advanced tab.  Scroll down to the section where it says 「Add here strings (not a filename) that forces a page not to be cached」 and add the following:index.phpsitemap(_index)?.xml(.gz)?[a-z0-9_-]*sitemap[a-z0-9_-]*xml|xsl|html)(.gz)?([az0-9_-]*?)sitemap([a-z0-9_-]*)?.xml

WP Rocket

WP Rocket offers sitemap preloading. Learn more here.

To prevent WP Rocket from caching the sitemaps, go to Settings > WP Rocket > Advanced Rules > Never Cache URL(s) and exclude the following:

/(.*)sitemap(.*).xml
/(.*)sitemap.xsl

Other cache plugin or method

If you are using a different plugin or caching is done at the server level then contact the plugin developer or your hosting company for support.

My sitemap is giving a 404 error, what should I do?

My sitemap is giving a 404 error, what should I do?

Is your sitemap giving a 404 error? This article will take you through the steps you should follow to fix this error. 
First of all, let us be clear that this is usually not due to our plugin, but due to poorly coded themes and/or other plugins. A 404 error basically means that the sitemap index or individual sitemap does not exist for a variety of reasons.
You can solve the 404 error by following these steps:

Permalink structure
Missing content
Rewrite rules
Check to see if sitemaps have been enabled

1. Update the permalink structure

First of all, sometimes resetting the permalink structure will quickly solve a 404 error from a recent change to your installation. Go to Admin > Settings > Permalinks and click save without altering anything. For more, information, see this how-to guide.

2. No content for the sitemap

Second, check that items exist in order to create the individual sitemap. For example, a category sitemap requires categories with published content. If the items do not exist, exclude the post type or taxonomy from the sitemap until you create content. For more information, see this how-to guide.

3. Rewrite rules are missing

If you still receive a 404, check the rewrite rules for your server. If you are not sure how to check for the rules below, which server you are using, or how to enter them, please contact your host provider.

Using Apache server

This article has more advice on troubleshooting the sitemaps on Apache servers: Yoast XML Sitemaps on Apache servers.

Using NGINX server

This article has more advice on troubleshooting the sitemaps on NGINX servers: Yoast XML Sitemaps on NGINX servers.

False positives in the English passive analysis

False positives in the English passive analysis

This article gives an overview of the cases in which the Yoast SEO passive voice assessment for English will yield incorrect results. We always strive for results that are as accurate as possible. However, because of the irregularities in human language, it will never be possible to get our analysis 100% right. Below you find a list of cases in which our analysis will incorrectly detect passive voice in sentences that aren』t really passive (false positives).

It』s not necessary to know about all of those cases to write a good text. Rather, this overview is intended to give you some clues in case you』re wondering why certain sentences are not correctly detected by the passive voice analysis.

Passive voice in English

To help you understand the false positives and negatives, here is a quick explanation of how the passive voice assessment works. The passive voice assessor in English looks for sentences containing a passive auxiliary and a past participle (a passive verb).

Passive auxiliaries are formed using a form of 『to be』 or 『to get』. They are 『helper verbs』 to the main passive verb.

Past participles are the main verbs of a passive form. They are verb forms such as 『written』 or 『used』.

False positives in Yoast SEO for English

The passive voice assessment of Yoast SEO will incorrectly detect a passive voice in the following cases:

1. When a sentence has a passive auxiliary and a participle, but those words serve different functions in that particular sentence.

For example, in a sentence like 「A URL is removed by Google」, the words 『is』 and 『removed』 form a passive voice. However, it can happen that those two words occur in a sentence together, but with different functions:

「If a URL returns a 410, Google is far more certain you removed the URL on purpose.」

In this sentence, the word 『is』 describes a property of Google (「Google is far more certain」) and the word 『removed』 describes an action that 『you』 did. Therefore, 『is』 and 『removed』 do not belong together and cannot form a passive voice. However, the passive voice assessor does not know this and incorrectly analyses the sentence as containing a passive.

Below is another example of a case when two words that could form a passive do not actually belong together:

「There is a page saying 「content not found」.」

In this sentence, the word 『is』 describes the presence of a page, and the word 『found』 is part of the message displayed by that page. However, the passive voice assessor cannot separate the text in between quotes from the main content of the sentence. Therefore, it incorrectly thinks that the words 『is』 and 『found』 are forming a passive. In comparison, a sentence where 『is』 and 『found』 do form a passive would be something like 「The girl is often found sleeping.」.

2. When a word that can be a past participle also has additional meanings.

For example, the word 『left』 can be a past participle of 『to leave』 and can form a passive in sentences like 「The book was left in the library.」. However, 『left』 is also a noun (as in, the opposite of 『right』), and if it occurs after an auxiliary, the passive voice assessor will mistake it for a passive verb:

「The content part of this website is structured correctly, but the sidebar on the left is using a reversed structure.」

In another example below, the word 『(a)re』 and the word 『done』 form the expression 『you』re done』, meaning something like 『you have finished』:

「You don』t just optimize for Google search, then boom you』re done.」

This is not a passive, as it does not describe an action done to the person. Nevertheless, the passive voice assessor will analyse it as a passive. This is because it cannot differentiate between such sentences, and sentences where 『done』 does function as a passive verb. An example of the latter would be 「The passive analysis is done by the plugin.」

How to add Facebook author tags

How to add Facebook author tags

A Facebook author tag is a tag that allows Facebook readers to follow the author of an article. The Yoast SEO plugin makes it easy to add Facebook author tags to your content. In this article, we』ll explain how you should go about this.

Related Articles

Social media optimization with Yoast SEO
Enable​ Facebook​ meta tags
Add Facebook publisher tags
Custom Facebook meta tags
Facebook sharing not working
No image when sharing

Example of a Facebook author tag

To set up author tags for the authors on your site, you should first make sure you have enabled Facebook OpenGraph. Then, you should add the Facebook profile URL of your users to their WordPress author profile by following these steps: Log in to your WordPress website. When you』re logged in, you will be in your 『Dashboard』. Click on 『Users』. When you』re logged in, you will be in your 『Dashboard』. On the left-hand side, you will see a menu. In that menu, click on 『Users』. Click 『Edit』 for the username of your profile or one of your author profiles. Under 『Contact Info』, add the personal Facebook profile URL. Click 『Update User』.

TIP: The author name is only clickable when the linked profile allows followers. Turn that feature on with these steps.

Customizing this filter

You or your developer can use the wpseo_opengraph_author_facebook filter to customize this feature. Returning false will disable the feature.

Image Attachment URLs

Image Attachment URLs

Let』s say you upload an image called image.png. WordPress uses the permalink structure to create a URL of https://example.com/image/, for example. This page displays your theme header, sidebar, and footer with the embedded image.

In most cases, you or your developer have not customized this page so it has little to no SEO value due to its thin content. For that reason, we recommend redirecting the URL to the actual image.

How to redirect attachment URLs to the actual image using Yoast SEO

Attachments to posts are stored in the database as posts, this means they』re accessible under their own URLs. Enabling the redirect image feature will redirect these URLs to the actual image. Log in to your WordPress website. When you』re logged in, you will be in your 『Dashboard』. Click on 『SEO』. On the left-hand side, you will see a menu. In that menu, click on 『SEO』. Click on 『Search Appearance』. The 『SEO』 settings will expand providing you additional options. Click on 『Search Appearance』. Click on the 『Media』 tab.  Toggle the 『Redirect attachment URLs to the attachment itself?』 switch. Toggle the switch to 『Yes』 to automatically redirect the attachment URLs to the image itself.Toggle the switch to 『No』 to leave the attachment URLs accessible.

Redirect attachment URLs to a post or page

Versions earlier than Yoast SEO 7.0 offered the option to redirect to a post or page. This method, however, was not always reliable and caused a lot of issues, especially when an image was added to multiple parts of your site. Therefore, the option was updated to redirect to the actual image.