Questions tagged [yoast]
Yoast is a WordPress plugin for website and search engine optimization. Use this tag if you have a question that is directly related to Yoast.
yoast
289
questions
1
vote
0
answers
118
views
Setup WP Rest API to fill Yoast field
Could you please help me with the following matter?
I'm looking to fill Yoast field using Wordpress Rest API, but I can't find the right presenter for data.
Here a sample of the code I'm using :
`...
-1
votes
1
answer
42
views
how can I replace the URL on search engines with the business name?
I'm building a site and I've noticed that when I search my site's name on google, unlike other sites my websites Url is displayed instead of the business title.
Can somebody please help me figure this ...
0
votes
1
answer
495
views
Altering custom taxonomy urls in Wordpress Yoast XML sitemap
I am trying to alter the url structure in the standard sitemap page produced by YOAST SEO plugin in Wordpress. I am able to alter Custom Post type sitemap using the below code, but I am not able to do ...
0
votes
2
answers
1k
views
Featured image not showing on LinkedIN post. Tried everything with DIVI support desk but no succes
Can someone maybe help me investigate this problem? We have added a few different code lines in the head and in the PHP.
The support desk advised me to ask my question here.
Is someone able to have a ...
0
votes
2
answers
61
views
Any way to get two functions to work on the same request?
I'm trying to remove the Yoast schema on posts and pages in my functions.php. But, one will work but together they won't. Any way to get this to work together?
Here's what I have tried so far:
//...
1
vote
1
answer
218
views
Is it possible to get Yoast primary category from product ID alone
Is it possible get Yoast Primary Category from Product ID ($product->get_id()) alone?
I've tried
$primary_term_id = yoast_get_primary_term_id( 'product_cat', $product->get_id() );
but to no ...
0
votes
1
answer
613
views
LinkedIn Thumbnail Image Not Appearing
Issue: LinkedIn does not generate a thumbnail image when sharing a blog post. Here’s an example blog post: https://blog.terkel.io/12-tips-to-improve-underperforming-blog-posts/
We have:
Upgraded to ...
0
votes
1
answer
2k
views
How to get SEO meta tag in Rankmath
I'm pretty new to WordPress plugin development. I am trying to move from Yoast to Rankmath. I have a question about get seo meta tag in Rankmath.
In Yoast, I can get SEO meta tag (for example title ...
0
votes
0
answers
667
views
How to solve this error “Optimize SEO Data” in wordpress
want to migrate from All In One SEO (AISEO) to Yoast to have better structured results. However, the migration tool is not functioning due to a bug: https://github.com/Yoast/wordpress-seo/issues/16518
...
0
votes
1
answer
2k
views
Yoast SEO meta description not saving
I generate a Focus Keyphrase and Meta Description in Yoast SEO meta box for my Home Page. But when I exit the editor, if I go back to the Home Page, the Focus Keyphrase and Meta Description have ...
-1
votes
1
answer
83
views
how to get object_id from Post_id in from database in WordPress?
I am trying to build a theme and for that i need to write a query to get seo details from yoast.
I look into the table and i found every thing in yoast is mapped with object_id.
I am not able to ...
0
votes
1
answer
202
views
How to create a custom sitemap of multiple subdomains?
how can I achieve a certain well structured layout in the Google search results as presented below? I am working with multiple Wordpress instances on several sub domains (not a multisite). Google does ...
0
votes
1
answer
393
views
Yoast wpseo_title visible in page Yoast SEO section
I want to populate the Yoast SEO title with a custom generated text string (functions.php).
The following add_filter function does provide the right output in my page's sourcecode.
function ...
-1
votes
1
answer
364
views
Weird redirections to URL with -
I'm getting weird redirections which aren't set up.
domain/sensual-masage → domain/sensual-masage-
There's problem with indexing the broken links with 301 redirections.
But there's not any ...
0
votes
1
answer
714
views
Get decoded title from Yoast SEO
Inside the Yoast settings, there are tags such as: Term Title, Page, Sitename etc.
And you can add them to title fields inside castom terms.
For example I want to get Woocommerce category Yoast title:
...