Skip to main content

Questions tagged [plugin-wp-seo-yoast]

WordPress SEO by Yoast is a popular SEO plugin for WordPress. Questions about this and other 3rd party plugins are closed as off-topic here and not in this stacks scope.

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

Remove wpseo filter from polylang plugin

in polylang there is an integration file for yoast named wpseo.php that adds some translated urls to yoast sitemap, I don't want these urls since I'm doing a custom work on translations with my own ...
silvered.dragon's user avatar
0 votes
0 answers
28 views

Change Paginated Blog Canonicals

I have a Wordpress website, with Elementor and Yoast. For my blog, I use an Elementor widget to display my posts on a custom template, the ‘Maple Grid’ widget. However, I have a canonical problem on ...
AFM's user avatar
  • 1
0 votes
1 answer
30 views

How to disable Yoast meta description for all pages

I am using Yoast plugin on my WordPress site, mainly for the sitemap and indexing features. My theme already comes with SEO features so now I am getting an error saying there's duplicate meta ...
houjicha's user avatar
0 votes
0 answers
55 views

Remove datePublished and dateModified from Yoast Schema output on WordPress website

Google Search results are showing the date published or date modified of my website pages in the page meta description text. I have root caused it as coming from the Yoast SEO plugin: Schema is ...
Jon's user avatar
  • 1
1 vote
1 answer
67 views

How can I do automatic redirects to canonical URLs as defined by Yoast SEO?

This client is using Yoast SEO (the free version) to specify primary categories for posts, a feature not available in the WordPress core. They discovered recently, via an SEO report, that the same ...
William Beaumont's user avatar
0 votes
0 answers
14 views

How to include empty archives in sitemap?

I am using free Yoast plugin and I see that the sitemap not include empty archives, I dont see any setting related to that. Is there any option to make empty archives included in the sitemap? I don'...
Basecode's user avatar
0 votes
0 answers
16 views

How to create archive child pages with good Yoast SEO meta?

I want to create children pages to some archives on wordpress with Yoast SEO. Today, i have /tags/{tagName} and i want to add sub pages to this archive. The goal is to have: /tags/{tagName} main tag ...
Vexyos's user avatar
  • 1
0 votes
0 answers
42 views

Preview Problem Yoast SEO

The problem is that the preview image/description that shows when sending the link to anyone , for example on whatsapp / messenger it shows the old logo / description and i have already changed that ...
Ahmed Ali's user avatar
0 votes
1 answer
123 views

Yoast SEO canonical URL gets pointed to the homepage

I noticed in Google Search Console that pages are increasingly getting removed from the index due to their canonical. For some reason — it points to the home page for some articles. After some digging,...
dodov's user avatar
  • 197
0 votes
0 answers
207 views

Remove all author names from yoast meta

I am using yoast seo in my wordpress, and it is show the author name in source code if i am activated sharing feature, <meta name="author" content="USERNAME" class="yoast-...
Yehia Gamal's user avatar
-1 votes
1 answer
469 views

Separate Sitemaps for Each Language with Polylang and Yoast SEO

I have a WordPress website with two essential plugins, Polylang for multilingual support and Yoast SEO for sitemap generation. Currently, the sitemap can be accessed through mysite.com/sitemap_index....
user234026's user avatar
0 votes
1 answer
52 views

My wordpress website showing 2 titles in source code how can i fix this issue

My WordPress website shows 2 titles in the source code how can I fix this issue
Iq Control's user avatar
0 votes
1 answer
160 views

Insert meta-description into Yoast-SEO input-field via JavaScript

we're currently working on an extension for the Yoast-SEO WordPress-Plugin. One of the features of this extension requires the meta-description within the Yoast-SEO-area to be replaced via JavaScript ...
Dennis's user avatar
  • 103
0 votes
1 answer
238 views

Yoasts plugin sitemap not detecting correct category URL format

My client wants the following URL: https://example.com/category-name So for that, I added . in the Category base under Settings > Permalinks and now my Category URL looks like how the client wants ...
Nikita Gupta's user avatar
0 votes
1 answer
790 views

YOAST slug does not take the custom permalink I have made

So I wanted to create custom permalinks for my pages for an SEO project I’m working on. I can customise the permalink fine as I have downloaded a custom permalink plugin, but the YOAST plug-in I’m ...
Frankie Levin's user avatar
0 votes
1 answer
32 views

yoast sitemap xml

the end results contains some empty lines and that's an invalid xml cause. I wanted to find out where those extra lines comes from but there are 100s of places to look into. Is there a way I can hook ...
haluk's user avatar
  • 1
0 votes
1 answer
781 views

wp_get_canonical_url showing first url of the post for custom page

I have created a tag.php page in the theme. It's working perfectly. I am getting the tags post on the page. Now I have added the below link to the header.php page. <link rel="alternate" ...
user9437856's user avatar
1 vote
1 answer
3k 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/ &...
Steve's user avatar
  • 1,727
0 votes
2 answers
905 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 ...
katiedev's user avatar
1 vote
0 answers
43 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 ...
cortvi's user avatar
  • 11
0 votes
1 answer
1k 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 ...
Steve's user avatar
  • 1,727
0 votes
0 answers
294 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 ...
bilalarshad24k's user avatar
0 votes
0 answers
1k 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 ...
simplifyvof's user avatar
0 votes
1 answer
334 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 ...
Álvaro Franz's user avatar
0 votes
1 answer
92 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 ...
HenrijsS's user avatar
  • 111
0 votes
1 answer
257 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. ...
Rafaucau's user avatar
  • 173
1 vote
0 answers
304 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 ...
Fredy31's user avatar
  • 868
0 votes
0 answers
464 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 ...
James's user avatar
  • 101
1 vote
0 answers
204 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 ...
HeavenlyHarmony's user avatar
0 votes
1 answer
95 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 &...
MohsenP's user avatar
  • 11
0 votes
1 answer
278 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 ...
Yvan Gagnon's user avatar
0 votes
0 answers
629 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 ...
Davood Dorostkar's user avatar
0 votes
1 answer
1k 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);
Fernando Souza's user avatar
0 votes
1 answer
145 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 ...
Drewdavid's user avatar
  • 219
0 votes
0 answers
102 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: ...
Naren Verma's user avatar
1 vote
0 answers
438 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 ...
insivika's user avatar
  • 111
2 votes
0 answers
150 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: ...
rc_tn's user avatar
  • 21
0 votes
0 answers
141 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 ...
Justin's user avatar
  • 111
0 votes
0 answers
33 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 ...
David Brossard's user avatar
0 votes
0 answers
55 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, ...
sa eu's user avatar
  • 3
0 votes
1 answer
52 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 ...
klei's user avatar
  • 1
1 vote
1 answer
242 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 ...
kalkun's user avatar
  • 23
0 votes
1 answer
214 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 ...
HappyHands31's user avatar
0 votes
0 answers
103 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 ...
Revious's user avatar
  • 313
0 votes
1 answer
2k 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&...
Mark Mayo's user avatar
  • 105
0 votes
1 answer
1k 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" ...
Jeffrey Simon's user avatar
1 vote
1 answer
2k 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 ...
Michael Rogers's user avatar
1 vote
1 answer
174 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 ...
danschdev's user avatar
1 vote
2 answers
3k 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 ...
thegirlinthecafe's user avatar
0 votes
0 answers
26 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 ...
jeens's user avatar
  • 1

1
2 3 4 5