Questions tagged [plugin-wp-seo-yoast]

WordPress SEO by Yoast is a popular SEO plugin for WordPress.

Filter by
Sorted by
Tagged with
0 votes
0 answers
45 views

Workaround for og:image unsupported webp image type, Yoast SEO?

My site Beta Fox uses Yoast SEO plugin to help deal with SEO common practices, however an issue has arisen. In beginning of last year WordPress didn't fully support webp image types, neither Yoast SEO....
user avatar
  • 111
0 votes
0 answers
17 views

WordPress: Export/Import Yoast meta title & description to custom taxonomy

I want to export the Yoast meta title & description from a custom taxonomy with the WP All Export. Unfortunately there is no direct way with the plugin to do that. There is an extra WP All Export ...
user avatar
  • 145
0 votes
1 answer
101 views

How to use the Yoast SEO wpseo_canonical filter to set a canonical URL for /, /au/ & /uk/ sites in a MU environment

Our company has markets in USA, UK & Australia. We've just started using WP MU on our development server where the USA/global version is @ www.example.com, and then there are www.example.com/uk/ &...
user avatar
  • 1,672
0 votes
0 answers
7 views

Hard-code SEO Title defaults across all sites on a multisite

I am using Yoast on a multisite with hundreds of sites and thousands of posts and I would like to make sure that the SEO title always ends with | Sitename and not have to rely on authors not changing ...
user avatar
0 votes
2 answers
32 views

Display Yoast meta-description `wpseo_desc` within loop of categories and fail silently if no data is set [closed]

I want to output the Yoast SEO category meta-description within a custom loop. Current code (below) works if there is a meta-description present. However, if no category meta-description is set it ...
user avatar
1 vote
0 answers
37 views

Overwrite YoastSEO meta-tags with another page's [closed]

I'm writing a custom Wordpress theme and for a specific page I need to overwrite its meta-tags (printed by YoastSEO) with the meta-tags of another page I already know the ID of. I cannot just change ...
user avatar
  • 11
0 votes
0 answers
20 views

custom wordpress theme and yoast seo injecting text in body

I have created a custom PHP Wordpress theme using HTML5Blank Template and Advanced Custom Fields, however, whenever the Yoast SEO plugin is activated it injects "view article" twice as text ...
user avatar
0 votes
1 answer
42 views

Yoast Metadata API to adjust/override the meta description

I wanted to use the following function to override the Yoast meta description: add_filter('wpseo_metadesc','custom_meta'); function custom_meta( $desc ){ if (/* do your test here to check ...
user avatar
  • 1,672
0 votes
0 answers
32 views

Post Thumbnail missing when using webp format while sharing

I have a problem when I upload a featured image for my post in jpg format, I get the featured image's thumbnail while sharing my post through any kind of messenger e.g whatsapp etc. But when I try to ...
user avatar
0 votes
0 answers
86 views

Link custom post type to parent page and show in slug / breadcrumb

I am using the Custom Post Type UI plugin to add custom post types to our website. We now created a CPT called IPDC. For this custom post type, we would like to have the option to link every IPDC page ...
user avatar
0 votes
1 answer
72 views

Prevent Yoast from removing the canonical tag if robots meta tag is set to noindex [closed]

I am using Yoast on a staging site and I want to have a canonical URL that points to the primary domain. So that staging.whatever.com uses canonical whatever.com I am replacing the canonical tag using ...
user avatar
0 votes
1 answer
27 views

Embed sitemap in a page

I've seen that many sites have a dedicated page for a sitemap, not just an .xml file. For example, https://www.casinos.de/sitemap/ They're using Yoast SEO and sitemap.xml is also available, but how ...
user avatar
  • 111
0 votes
1 answer
50 views

Is it possible to change the permalink structure without changing the old permalinks to posts and without 301 redirects?

I would like to change the permalink structure for new posts only. I want to leave the old ones as they are. I have a site that has over 30k posts and I'm worried that 301 redirects might mess up SEO. ...
user avatar
1 vote
0 answers
10 views

Way to change the Yoast Schema depending on post type? [closed]

I’m trying to change the schema on my website to work with my custom post types, so events/jobpostings can be categorized as such. But trying to work with a hook found on Yoast’s website, that hook ...
user avatar
  • 788
0 votes
0 answers
41 views

WordPress site using Yoast SEO being blocked from indexing by robots.txt

Morning all! I've just built a website for a client, using WordPress and the Yoast SEO plugin (free version). https://www.fly2help.org/ Whilst they're really happy with the website, I've noticed an ...
user avatar
  • 101
1 vote
0 answers
101 views

Getting error when trying to implement site-wide breadcrumbs in Twentytwentyone Theme [closed]

I've purchased the Yoast SEO Premium plugin earlier this year, but I wasn't able to figure out how to enable breadcrumbs until a few days ago. At first I thought I had to add blocks to every page and ...
user avatar
0 votes
0 answers
14 views

SEO Yoast Menu Not working

I was using Yoast SEO plugin to edit my meta titles and descriptions but the SEO Yoast menu is not showing anything
user avatar
  • 1
0 votes
1 answer
41 views

charset problem in wordpress because of nginx config

I transferred a WordPress website to my server, the previous webserver was apache, the new web server is Nginx, but I made a mistake and got the Nginx config file from my old resources so this phrase &...
user avatar
  • 11
1 vote
0 answers
22 views

How to ensure that a landing page created with WordPress does not enter the sitemap?

We have been creating landing pages for our clients whose employees will submit a form on them. We don't want these pages to be visible to search engines. We are using Rank Math SEO to set no index on ...
user avatar
0 votes
1 answer
60 views

Custom function that re-writes page title breaks when the Yoast plugin is activated

I recently had someone here help me write a custom function for the WordPress site that I'm developing so that it re-writes the page title when a 404 error is encountered. It's been working exactly ...
user avatar
0 votes
0 answers
130 views

Wrong Open Graph image is shown (og:image) using yoast

I am using Yoast plugin and have set the Open graph metadata, but the thumbnail image is wrong. I have set the same image in these places: Page editor > Social > Facebook image SEO > Search ...
user avatar
  • 1
0 votes
0 answers
25 views

Hierarchy pages from yoast breadcumbs

I want to use yoast seo breadcrumbs in my web site, but when I set it up, the hierarchy doesn't look right, I have a mega menu and the parent pages doesn't appear in the breadcrumbs For example in ...
user avatar
  • 101
0 votes
1 answer
348 views

How to get an archive page meta?

Im trying to get some meta from the plugin Yoast Seo, set to a archive page of a custom post-type. What am I doing wrong? $titleSEO = get_post_meta( '_yoast_wpseo_metadesc', true);
user avatar
0 votes
1 answer
65 views

Can't print Yoast meta description into page template (syntax error, unexpected '.') [closed]

Here is the relevant portion of my page template code: $yoast_meta = get_post_meta($post->ID, '_yoast_wpseo_metadesc', true); function my_service_template_footer_data() { echo "<script ...
user avatar
  • 169
0 votes
0 answers
31 views

How to stop the custom post type URL from the google search?

I don't have any issue with custom post type in the admin panel. It's working perfectly. I have a small issue with search on google, I search my domain on google and I found the below output. Note: ...
user avatar
1 vote
0 answers
179 views

Change base URL of Yoast Sitemap [closed]

We're using wordpress for our headless CMS and the Yoast plugin to generate sitemaps. However Yoast uses the domain of the site i.e content.domain.com as the base url to generate the links on the ...
user avatar
  • 111
2 votes
0 answers
59 views

How do I get WordPress URL rewrites into Sitemap?

Consider the two following custom post types: Museums Bakeries With one shared taxonomy: Region I'm using rewrite rules to improve the URL structure, so I can serve pages to visitors such as: ...
user avatar
  • 21
0 votes
0 answers
41 views

Subcategories randomly not working after page/post/category edit in wordpress. Fix: saving permalinks twice

We run a custom WP theme with some plugins including Yoast SEO premium and WPML. We also run a version without WPML. In the version WITH WPML subcategories (quite randomly) give back a 404. This seems ...
user avatar
  • 11
0 votes
0 answers
25 views

An inactive plugin causes an HTTP 404 issue on a translated post - WPML

I help manage https://www.delscookingtwist.com/, a bilingual food blog which runs Wordpress (need I say that?) along with several other plugins including Yoast SEO and WPML. Recently, I noticed 404 ...
user avatar
0 votes
0 answers
54 views

Does anyone know why my SEO and title become one?

<h1><?php wp_title( '|', true, 'right' ); ?></h1> Does anyone know why my SEO and title become one? I use the above code to display the post title When I change the title of SEO, ...
user avatar
  • 3
0 votes
1 answer
22 views

My page is shown as archive in my site

I've made a real estate website with Wordpress and I'm facing some issues. People register on the website as users, agents and agencies. On the agencies page where all registered agencies show it ...
user avatar
  • 1
1 vote
1 answer
71 views

Need Help Correct Regular Expression Redirect Code

I have custom permalinks with this code /%year%/%monthnum%/%postname%.html and now switching to another custom permalinks %postname%.html so obviously all my content is now 404 not found, in yoast ...
user avatar
  • 23
0 votes
1 answer
20 views

Why is URL Slug Saving Differently From How It's Been Defined?

When editing this page in the dashboard, I've defined the URL slug as ft-lauderdale. Also, the title of the page is 'Ft. Lauderdale', and the slug in Yoast is ft-lauderdale: However, when I view this ...
user avatar
0 votes
0 answers
47 views

Yoast and permalink troubleshooting

For first let me introduce what I've already discovered. I don't know how Yoast calculates the permalink but it's non standard and that fact creates a lot of problems. There are some filters to force ...
user avatar
  • 289
0 votes
1 answer
507 views

Fixing link rel="next" in Yoast SEO for paginated links

I've got a site with yoast seo running, as seen in the source: <title>Redacted</title> <meta name="description" content="Redacted" /> <meta name="robots&...
user avatar
  • 105
0 votes
1 answer
690 views

Blog home page has canonical link that is incorrect. Do not see where to change this

As part of our website we have a wordpress blog in a subdirectory. I scanned our main site for broken links. The scan included the wordpress blog in the subdirectory. Some "broken links" ...
user avatar
0 votes
1 answer
749 views

how to disable Yoast SEO schema from homepage only?

I know it can be disabled everywhere with add_filter( 'wpseo_json_ld_output', '__return_false' ); But i want to keep the breadcrumbs so if i could do that only if (is_home()) that would be perfect. I ...
user avatar
1 vote
1 answer
107 views

Why does Google Image Search still display my images?

I am having trouble with a few image files that I would like to block for Google Image search. I am using Yoast SEO Plugin, which allows me to directly edit the robots.txt file. A few people with ...
user avatar
1 vote
1 answer
1k views

Wrong Canonical url link

I have a weird problem. I have a page that changed URL (because it's parent changed name). Example Link https:www.mysite.com/my-services/service-1 is now: https:www.mysite.com/services/service-1 ...
user avatar
0 votes
0 answers
21 views

My wordpress local urls is still displayed even moved to live

My wordpress local urls is still displayed in some pages even moved to live. How do i fix this, local urls displayed in "canonical link", " meta property="og:locale" code, "schema code". NB: We are ...
user avatar
  • 1
0 votes
1 answer
304 views

Disabling Yoast, All-in-One, and Rank Math on Certain Pages within a Plugin

I developed a custom plugin for a site that is using URL rewriting within WordPress to create several dynamic pages. When one of these custom pages is loaded, I'm using the following functions and ...
user avatar
  • 107
3 votes
0 answers
570 views

Using 'Primary Category' in URL

I'm running into an issue where I want to set up categories in my URL (%category%/%postname%), but doing this will create multiple URLs for the same content if I select multiple categories. So, for ...
user avatar
1 vote
2 answers
329 views

Wordpress display breadcrumbs using Yoast plugin [closed]

Hi so for all my Wordpress 5.4 site’s posts (articles), I'm using Yoast SEO plugin for breadcrumbs across my site. For all my posts (articles) I just want: Home > CategoryLink > as breadcrumbs, not ...
user avatar
  • 11
1 vote
0 answers
467 views

Regex expression for redirecting image URLs to another folder

I have changed the upload folder to a folder called "images" in the root folder by entering define('UPLOADS', 'images'); inside wp-config.php file. My Media settings had the images organized into ...
user avatar
1 vote
1 answer
302 views

Shortcodes not working in category or tag description

when Yoast plugin is enabled shortcodes not working in category or tag description I used this and this article and add these codes to the function but nothing change please help me. add_filter( ‘...
user avatar
  • 191
0 votes
1 answer
209 views

Permalink not changing according to post type

I am using two post types: a) Posts ( Default post type) also name as blog for blogging. b) case studies ( Custom Post Type ) only for case studies. I want to add the string ‘blog’ for default post ...
user avatar
0 votes
2 answers
425 views

Retrieve a value from Yoast SEO to use to set a default twitter card image honoring overrides

So Yoast SEO has an issue where you can't define a global default twitter card image. So I'm looking to both set a default twitter card image but allow for the override on the specific pages to ...
user avatar
  • 93
1 vote
0 answers
97 views

Yoast SEO plugin "could detect no serious SEO problems" on dashboard

In the Yoast SEO plugin dashboard (SEO -> General - Yoast SEO) of my wordpress blog, I see an orange check mark and the assuring text "Problems (0) Good job! We could detect no serious SEO problems" ...
user avatar
0 votes
1 answer
154 views

How-to: This block can only be used once

Probably a dumb question but not getting answers anywhere... I'm getting an error: "How-to: This block can only be used once." from a yoast seo plugin but is this a limitation imposed by wp or yoast?
user avatar
0 votes
1 answer
124 views

WPML and Yoast SEO setup on a wordpress site is not working properly

I'm stuck with WPML+Yoast SEO on a website everything is translated in 2 languages even in page source the description and title is translated but in google searches google is messing up like for a ...
user avatar
  • 101

1
2 3 4 5