URL Redirects With Encoded Characters

URL Redirects With Encoded Characters

Unusual looking URLs cause a lot of confusion as to the best practice for redirecting them when using Yoast SEO Premium. Our plugin will accept both the encoded and unencoded character.

If the redirect is not working with the one version character, try substituting the other version.

Encoded CharacterUnencoded Character%E2%80%A6…%20(space)%25%

A complete list of encoded characters is available here.

My redirect with UTM parameters isn』t working

When PHP redirects are enabled, URLs with UTM parameters are not redirected. This is what regex redirects are for. If you』re using utm with a ?, it truly is a parameter, so it shouldn』t be redirected. We suggest using # based UTM links or creating regular expression redirects.

How to get Pinterest Rich Pins for your site

How to get Pinterest Rich Pins for your site

Pinterest Rich Pins show more information directly on a pin, like the price and availability of a product, the ingredients and cooking time of a recipe, and the headline and author of an article. In this article, we』ll show you how to get Pinterest Rich Pins for your site through the Yoast SEO plugin.

Table of contents

Confirm your site in PinterestHow to get Rich Pins for your siteRich Pins for my homepageAdditional information

Confirm your site in Pinterest

Before you do anything else, please make sure you have confirmed your site on Pinterest. Log in to your WordPress Dashboard, go to the Yoast SEO menu item, and click 『Social』. Then, go to the Pinterest tab of the Social settings. There, you can fill out a confirmation code to confirm your site with Pinterest. Read more about how to get the Pinterest confirmation code here.

How to get Rich Pins for your site

To get Rich Pins for your site, Pinterest must authorize your site for rich pins. Validate and apply for rich pins by following these steps: Enable Open Graph in our plugin. Go to https://developers.pinterest.com/tools/url-debugger/ Enter a URL to a page or post that contains rich pin data. Choose 『HTML tags』 and click 『Apply Now』. The validator will run and you will see a validation confirmation and apply now link. Verify the domain name is correct. Choose HTML Tags and click 「Apply Now」. You will see a confirmation that your application was processed. Pinterest will contact you after reviewing your site.

Hint: If you scroll down, you will see a sample of the information available for Rich Pins.

Rich Pins for my homepage

On your homepage, Yoast will output the following OpenGraph tags: meta property="og:type" content="website". In order to make Pinterest validate Rich Pins for the homepage, you will need to develop the ability to output 「article」 only on the homepage and place it, most likely, in your theme』s functions.php file.

To do this, you need to use the Change Yoast SEO OpenGraph Type code here: Develop Filters to Set Custom OpenGraph Tags. Please know that you may need to develop the ability.

Prior to any changes on your site we recommend making a backup of your site or performing the work first on a staging site. If you need to create a staging site or need to backup your site, we suggest speaking to your host provider for more information. Please also know, that any changes made to your theme may be overridden in the next theme update.

It is highly suggested to use a child theme. If you are not sure how to use a child theme, please speak with your theme developer.

Additional information

Pinterest no longer supports price variations or ranges unless you are using a feed partner like Shopify.WooCommerce SEO supports Price, Availability, and Currency as Pinterest Rich Pins, described in this guide.

Sitemap Error: Unsupported format HTML

Sitemap Error: Unsupported format HTML

Unsupported format. Your file appears to be an HTML page.

Possible causes

Wrong sitemap URL submittedSitemap displays an errorSitemap redirects to a pageHidden video sitemap is cached

Was the correct sitemap URL submitted?

The Yoast SEO sitemap URL to submit ends in sitemap_index.xml. If you submitted sitemap.xml, please remove it and submit the correct sitemap.

Does the sitemap error?

Open the sitemap in a browser. Remember, the Yoast SEO sitemap URL to submit ends in sitemap_index.xml. Does an error appear? If so, search our list of common sitemap errors for additional steps.

Sitemap redirects to another page

Redirects can come from WordPress (core, theme or plugins) and your server (htaccess or webhost control panel). A conflict check can help narrow down where the redirect is located so you can remove or modify the redirect.

Hidden Video Sitemap is cached

Typically this happens with video sitemaps when you』re running W3 Total Cache and you』ve ticked the setting to hide the sitemap from normal visitors. What W3TC does is cache the error which normal visitors get, if they want to view the video XML sitemap. This error is then also served to googlebot, because the logic to show the sitemap to googlebot won』t execute. The best way to fix this is to create an extra user agent group.

You can create this user agent group by going to the W3TC』s settings. Under Performance and then User Agent Groups there』s a button 「Create a group」. Click this button and call your group 「Google」 or 「Googlebot」 and then in the user agents field you just enter 「googlebot」. This will force W3 Total Cache to make a separate cache for Googlebot user-agents.

Another option is to prevent W3TC from caching video-sitemap.xml entirely by excluding the sitemaps, but since that』s slower, we actually prefer the user-agent group.

False positives and negatives in the German passive analysis

False positives and negatives in the German passive analysis

This article gives an overview of the cases in which the Yoast SEO passive voice assessment for German 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 either incorrectly detect passive voice in sentences that aren』t really passive (false positives) or in which it will fail to detect passive voice in sentences that are actually passive (false negatives).

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 German

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 German looks for sentences containing a passive auxiliary and a past participle (a passive verb).

Passive auxiliaries are words such as 『werden』, 『bekommen』 or 『kriegen』 and they function as 『helper words』 to the main passive verb.

Past participles are the main verbs of a passive form. They are verb forms such as 『geschrieben』 or 『verkauft』 that usually start with a prefix like ge-, er- or ver- and and in a suffix like -t or -en.

False positives in Yoast SEO for German

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

1. When a sentence contains a past participle, as well as the word 『werden』 as a main verb.

The word 『werden』 has two meanings. It can be used as an auxiliary verb when forming passive sentences, such as in the example below.

「In dieser Zeit wurde eine bestimmte Kultur gelebt.」

Or, it can be used as a main verb meaning 『to become』:

「Rund 2.500 Jahre ist es her, dass Siddharta Gautama, der zum Buddha wurde, gelebt hat.」

The passive voice assessor cannot distinguish between the two uses. As a result, it will incorrectly mark a sentence such as the one about Buddha as containing a passive.

2. When a word that can be a passive verb also has additional meanings.

There are several cases when a word that looks exactly like a passive verb can combine with an auxiliary and result in a false positive.

For example, some passive verbs can also function as adjectives, such as the word 『gezielt』 in the following sentence:

「Deswegen bekommen Verkäufer auch regelmäßige Trainings, in denen sie gezielt an der richtigen Attitude arbeiten.」

Some third person singular and Futur I Aktiv Indikativ verbs can also have the same form as passive verbs. Therefore, sentences such as the ones below will also result in false positives:

「Das kann zu einer echten Lawine werden, die uns überrascht.」

「Das werde ich behalten.」

In all of these cases, the passive voice assessor cannot tell the difference between those sentences, and sentences where words like 『überrascht』 are used as passives, such as this one:

「Ich wurde von ihm überrascht.」

3. When a sentence contains both a passive auxiliary and a word that is not a verb but starts with ge-, er-, ver-, ent-, be-, her-, über- or zer-, and ends with -t.

We』ve tried our very best to make sure words such as 『Gefecht』 are not categorized as a passive participle. However, our very extensive list can never cover all exceptions. Please let us know if you』ve found a missing word, and we will gladly add it to our exception list.

4. When a sentence contains both a passive auxiliary as well as a verb ending in -iert that is not a passive verb.

Verbs ending in -iert are often passive verbs, such as in the following example:

「Ich würde gratuliert.」

However, they can also be third person singular verbs in the present tense, such as:

「Wenn Dich dieses Angebot wirklich interessiert, würde ich auf die website gehen.」

As the passive voice assessor treats most verbs ending with -iert as passive verbs, the second type of sentence will result in a false positive.

5. When a passive auxiliary and a participle occur in different clauses which are not separated by a conjunction.

When an auxiliary and a participle occur in different clauses, such as in the example below, they can never form a passive.

「Deswegen bekamen Verkäufer auch regelmäßige Trainings, in denen sie an der richtigen Attitüde gearbeitet haben.」

If the two clauses are separated by a conjunction such as 『aber』, the passive voice assessor will know that the auxiliary and the participle do not belong together.

Example: 「Deswegen bekamen Verkäufer auch regelmäßige Trainings, aber darin haben sie nicht an der richtigen Attitüde gearbeitet.」

However, if there is no conjunction, such as in the first example, the assessor will mistake that sentence for a passive.

False negatives in Yoast SEO for German

1. Passive sentences with a participle starting with ge-, er-, ver-, ent-, be-, her-, über- or zer-, and ending in -st .

To avoid marking many second person present tense verbs as passive participles, we』ve decided to exclude all verbs ending with -st (except for those ending in -sst, e.g. 『abgeblasst』) as a participle. Unfortunately, this means that the few participles that do end in -st and that we haven』t added to the exception list yet, won』t be found.

2. Passive sentence with an irregular participle.

Our list with irregular passive participles includes all irregular participles (not ending in -t) we could find. However, we are quite sure we might have missed some of them. Please let us know if you found any passive participles that are not detected.

How Do I Change the WooCommerce Shop Page meta data?

How Do I Change the WooCommerce Shop Page meta data?

You can change the title or meta description for your WooCommerce shop page directly in the Snippet Preview on the WooCommerce shop page. To change the breadcrumb title, please follow these steps. 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 『Content Types』. Expand the 『Product』s post type. Scrolling to the 『Products』 post type and expand the post type by clicking the arrow. Click the link to edit your shop page. Near the bottom of the box, you will see a heading 『Settings for Products archive』. Click the link to edit your shop page. In the Yoast SEO snippet preview, click 『Edit snippet』. Add or change the SEO title and meta description. Click 『Update』.

How to add Facebook publisher tags

How to add Facebook publisher tags

A Facebook publisher 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

Enable​ Facebook​ meta tags
Custom Facebook meta tags
Add Facebook author tags
Facebook sharing not working
No image when sharing

Example of a Facebook publisher 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 『SEO』 On the left-hand side, you will see a menu. In that menu, click on 『SEO』. Click on 『Social』. The 『SEO』 settings will expand providing you additional options. Click on 『Social』. Click on the 『Accounts』 tab. Under 『Your social profiles』, enter your Facebook Page URL. Click 『Save changes』.

How to disable the metabox 『Insights』 feature

How to disable the metabox 『Insights』 feature

Yoast SEO Premium users can easily enable or disable the insights part of the Yoast SEO metabox, also known as the most prominent words. This feature is enabled by default. 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 『General』. The 『SEO』 settings will expand providing you additional options. Click on 『General』. Click on the 『Features』 tab.  Toggle the 『Insights』 switch. To enable the feature, toggle the switch to 『On』.To disable the feature, toggle the switch to 『Off』. Click 『Save Changes』.

You Should Add [XYZ] to the httpd Config File

You Should Add [XYZ] to the httpd Config File

The warning:

As you』re on Apache, you should add the following include to the website httpd config file: Include /Path_To_WordPress/wp-content/uploads/wpseo-redirects/.redirects

The Cause

When you disable PHP redirects and generate a separate redirect file, the plugin writes all redirects to a custom file. However, your server doesn』t know to use the custom file. The included command tells the server to use the custom file.

The Solution

Your webhost or server administrator can provide instructions on how to edit the httpd config file for your website.

Due to security reasons it is not possible for the plugin to check the full pathway of the server. This means even if you know you added the pathway to your httpd.conf file the message will still appear.

Shortcodes not rendering

Shortcodes not rendering

If you have shortcodes in your content that are not rendering, you could see, for instance, something like this:

[wpseo_map id="all" width="400" height="300" zoom="-1" map_style="roadmap" show_route="0" show_state="0"]

This can be caused by two things:

The plugin providing the shortcode is not active. The shortcode then won』t work.Your theme is outputting the post content without applying the needed filters on it.

Fixing your theme

If you install the What the file plugin, you can see which file in your theme is being used to render the page that has the issue. You should then open that file and see what』s there. Usually you』ll find it has something like this:

echo $post->post_content;

If that』s the case, try making it so that it properly uses the WordPress loop and the function the_content(); to output the content. If you really can』t do that, you can change the code to:

echo apply_filters( 'the_content', $post->post_content );

This would not be our preferred option though, as that』s bound to have other issues as well…

Replace WooThemes Breadcrumbs with Yoast Breadcrumbs

Replace WooThemes Breadcrumbs with Yoast Breadcrumbs

If you are not sure if you have a WooTheme or not, please contact your theme developer for more information.

Note that you need to have both WooBreadcrumbs in your options panel and the Yoast Breadcrumbs enabled for it to show up on your site.

Table of Contents

I have Yoast SEO or Yoast SEO Premium OnlyI have the WooCommerce SEO Plugin AND Yoast SEO or Yoast SEO PremiumHow Can I Stylize the Breadcrumbs or Output them Somewhere Else on my WooTheme?How Can I Enable the Breadcrumbs and Configure Them?

I have Yoast SEO or Yoast SEO Premium Only

If you want to use Yoast Breadcrumbs instead of the default WooBreadcrumbs, then you can add the code snippets here to your functions.php.

If you are not sure how to do this, please speak to your theme developer for more information or work with a Yoast Partner.

I have the WooCommerce SEO Plugin AND Yoast SEO or Yoast SEO Premium

If you have the Yoast WooCommerce SEO plugin (with either Yoast SEO or Yoast SEO Premium) add in the code snippets here and go to SEO-WooCommerce and be sure to leave the: Replace WooCommerce Breadcrumbs unclicked

If you have WooCommerce SEO AND a WooTheme leave this unclicked.

When that happens you should get one set of breadcrumbs, the Yoast SEO breadcrumbs.

How Can I Stylize the Breadcrumbs or Output them Somewhere Else on my WooTheme?

The code snippets here insert the code using the woocommerce_before_main_content hook. If you』d like the breadcrumbs in a different location, please locate the appropriate hook in the theme』s documentation and update the hook.

To style them in the same fashion as the original breadcrumbs, you may need to modify the line that starts with 『yoast_breadcrumb』 (line 22 in the code snippets) and/or add custom CSS styles.

If you are not sure how to do this, please speak to your theme developer for more information or work with a Yoast Partner.

How Can I Enable the Breadcrumbs and Configure Them?

Please refer to our guide here on how to do that.