Questions tagged [plugin-wp-seo-yoast]

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

50 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
43 views

Yoast SEO blocking/re-initialising longer running process

I have created a custom plugin, the job of which is to calls an external API to fetch data and fill in some custom tables in WordPress database. This is really a long-running process (maybe over 30 ...
2
votes
0answers
505 views

Custom WP TItle from custom template with dynamic URL structure

I am new to custom WP development, but I have made a custom plugin. With a custom rewrite I have made the following URL structure: /profile/[company_name]/ I have made a new post Profile with a ...
1
vote
1answer
27 views

Where does the Yoast SEO plugin set the Open Graph metadata?

The Yoast SEO plugin add this line to the head section of the page: <meta property="og:image" content="https://link.to.image.jpg" /> But according to FB OpenGraph og:image not pulling images (...
1
vote
0answers
23 views

Wordpress Sitemap including pages that aren't there

I dont know if this is a severe cache, or a bug of sorts, I've installed multiple "seo" plugins to try and fix this, trawled the file system, cleaned the database, I don't know what is generating this ...
1
vote
1answer
56 views

How to Change The Title in WordPress For SEO

My concern is when I search for that company I see what is shown in the image. Instead of Home, I require it to show a custom title that is good for SEO. What is the best way to fix this? Please ...
1
vote
2answers
444 views

Replace default og:image tag YOAST

I'm trying to replace the default image picked by yoast (featured image) with a custom with the relative og:image:width and og:image:height, but seems a mission impossible! I tryed with this: ...
1
vote
0answers
64 views

Add content before Yoast description

I would like to add the date in minuscule au début de la description de yoast. %%currentdate%% give me the date but first letter of mouth is in uppercase. Have you got a trick to do ?
1
vote
0answers
417 views

Twenty Eleven Theme - SEO Yoast duplicate site titles

I'm using a Twenty Eleven Theme with the SEO Yoast Plugin and I have encountered that once the plugin is installed, duplicate site titles appear on my site, like this: <title>Home | ...
1
vote
0answers
967 views

List all posts in a custom post type with pagination (the correct way)

I need to list all posts associated to a custom post type "jobs" with support for pagination and Yoast SEO metas (canonical URL, next\prev links, "noindex,follow" subpages). You may consider reading ...
1
vote
1answer
208 views

SEO optimization gone not so well

I am relatively new to WordPress, but I want to create a blog and try to optimize it for SEO. So I tested my site on OnPage.org and it tells me that my site in not indexable due to robots.txt ...
1
vote
0answers
139 views

Wordpress thinks my custom taxonomy pages are search pages #seo

I have set up a custom taxonomy for regular posts called guide. I have a template file called taxonomy-guide.php which lists out posts with a guide taxonomy. So my URL structure appears like this: ...
1
vote
2answers
2k views

Edit title-tag in wp_head with yoast seo

I want to manipulate the html-title tag, so <title> these not the content of the title-tag! I use child-themes and it's inevitable, because the template have to be easy to update. So I have to ...
1
vote
1answer
402 views

the_content filter together with require_once returns 1 instead of the content of the included file

It's a weird problem that looks like to have something todo with the WP SEO plugin from Yoast. If I disable it ( and no other plugins are running ), the output is what I expect it to be. It shows the ...
0
votes
0answers
9 views

How to insert links while working with Yoast FAQ block in Gutenberg?

I'm writing a FAQ using Yoast's FAQ plugin that creates FAQ block in Gutenberg editor. Everything runs smoothly but I can't add links or any other formatting elements to answers. Is there an option ...
0
votes
0answers
36 views

SEO Site Title appearing in google search despite not being added

I am using Yoast SEO plugin for my WordPress website. I have not added Site Title to SEO Title in Yoast Content-Type Post settings or the post itself but it is still showing Site Title when the post ...
0
votes
0answers
30 views

WooCommerce related product - only show from primary category

I have products in multiply categories e.g. "All lamps", "Ceiling lamps" and "Black lamps". "Black lamps" is the primary category (using Yoast SEO for making primary category). My problem is ...
0
votes
0answers
17 views

WP-API Yoast Default Site titles with snippet variables not saving

I’m using a headless WordPress with WP-API. So, I’m exposing yoast data in the API. With something like this: 'yoast_wpseo_title' => wpseo_replace_vars(get_post_meta($post->ID, '...
0
votes
0answers
19 views

Make Yoast read post meta fields when calculating SEO score

I have a custom post type that includes several meta fields. One of which is a text area that contains quite a bit of text. Is there any way I can make Yoast read the content of this text box along ...
0
votes
1answer
10 views

Extract all users along with yoast metadata description

We currently have a authors list page which shows all users which have at least 1 published post. Within this page I'd like to also show the description of the user, but take this from the metadata ...
0
votes
0answers
31 views

Getting yoast title for custom taxonomy

I have created a theme template for a custom taxonomy. The HTML title tag has the yoast title that I set when editing the taxonomy. I want to also make this the title of the page. I cant seem to ...
0
votes
0answers
27 views

Sitemap could not be read

i have another Wordpress website (already several "customer websites") where i take care of the indexing, but with this installation i get the errors "Sitemap could not be retrieved" if i click on the ...
0
votes
0answers
23 views

Have custom post type posts show under regular posts in sitemap (Yoast)

I have a custom post type called FAQs, and I'm using Yoast SEO to generate a sitemap. The sitemap gets generated like it should, but it creates a completely separate sitemap for the FAQ post type, so ...
0
votes
1answer
76 views

Set default image for twitter cards with Yoast?

I've figured out how to use Yoast to set a Twitter card image for each page (enable Yoast, then go to the page and set the image and description manually in the "Yoast SEO" settings). But how do I ...
0
votes
1answer
186 views

Yoast - Custom Taxonomy - primary category

I have a Custom Taxonomy with the name country. I would like to display the primary category only. I have the yoast plugin installed and that is how I'm setting the primary category. I'm using this ...
0
votes
1answer
106 views

Adding a H1 Tag to Post Tags automatically, but hide the tag? (Same for Category)

So to increase my SEO score I require all tag pages to have a H1 title, for example website.com/tags/taghere would need the title: <h1>TagHere</h1> or simply <h1>taghere</h1> ...
0
votes
0answers
34 views

301 redirects after changing permalinks

I've recently changed my permalink structure from /%category%/%post_id%/ to /%category%/%postname%/. I've also switched from Yoast to The SEO Framework plugin. Prior to making that switch, I deleted ...
0
votes
0answers
93 views

Robots.txt file not updating

One of our website robots.txt file is not getting updated,deleted .htaccess and robots.txt file from root folder from one of the suggested answers Why does Google Webmaster Tools say my whole site is ...
0
votes
0answers
159 views

Error in backend: Failed to load plugin: tabfocus from url

I'm getting an error that looks really wierd (notice the red error, running all the way down from top to bottom, over the left sidebar): The error is: Failed to load plugin: wordPress from url ...
0
votes
0answers
61 views

How to use yoast to add custom post url to sitemap file?

I used add_rewrite_endpoint to add a string at the end of url. function wpseo331941_reader_endpoint() { add_rewrite_endpoint('readers', EP_PERMALINK | EP_PAGES); } add_action('init', '...
0
votes
0answers
24 views

How to call Yoast Seo Tags without needing to call the whole wp_head?

A client wants to add SEO to his newsletter pages, that are linked to WP. (See at end) and wants those pages to be indexed, and have some SEO in them. I already got Yoast on the site, but I do not ...
0
votes
0answers
26 views

Using $this with an anonymous function in filters

Okay so I have a method within a class which looks like $this->addToSitemap('page', $urls); This is used to append extra pages to the Yoast Sitemap. Here 'page' is the type of sitemap within ...
0
votes
0answers
123 views

How to display custom seo title before the loop?

So I've optimized one of my archive page title to this add_filter('wpseo_title', 'new_filter_title'); function new_filter_title($title) { if ( is_page('1637') && $...
0
votes
0answers
26 views

How to pull list of all Yoast keywords that I have entered into all posts?

I find the need to make one list of all keywords in one spot. Rather than going into my hundreds of posts and manually making a list, I figure there would be a functionality to find this or a way to ...
0
votes
3answers
732 views

Set Primary category using the Yoast SEO plugin

function set_primary_on_publish ($post_id) { global $post; $categories = get_the_terms( $post->ID, 'category' ); // wrapper to hide any errors from top level categories or products ...
0
votes
1answer
211 views

Replace Yoast og:image in single custom post type

i'm trying to replace the custom yoast og:image in a specific post type to use a custom meta field instead of the featured image. What i got so far is: function my_wpseo_opengraph() { global $post; ...
0
votes
0answers
120 views

Reorder title tag and description tag with wpseo_title and wpseo_metadesc

I'm trying to change the order of the title tag and description tag (CMS Wordpress, plugin Yoast SEO). Now in the code of the page it looks like this: <title>something ...</title> <...
0
votes
0answers
49 views

How can I remove an unwanted character from the main page's title?

I'm working on this website: http://mel-mary-blog.fr/ Since the girls creating all the articles wanted a better SEO, I installed Yaost and did all the configuration I could without paying for the ...
0
votes
1answer
1k views

Export Yoast Keywords from MySQL/phpMyAdmin

I'd like to export all focus keywords from Yoast, as we're moving platforms to Craft CMS and using a similar tool, Ethercreative's SEO tool. I'd love a good query to pull these from the database, ...
0
votes
0answers
180 views

Rewriting URL with child pages

I have a parent page with the URL example.com/the-boats And then child pages like so: the-boats/story the-boats/cast the-boats/articles etc... Many visitors type example.com/boats example.com/...
0
votes
1answer
19 views

Linkedin not returning right info

I have a problem when sharing a website on linkedin (it works well on facebook). I use the theme "Foundry", and SEO by YOAST (free version). I have the right OG informations in the head of my ...
0
votes
1answer
103 views

Exclude WooCommerce terminations from YOAST

Today i have a little issue with Yoast SEO, i would love to hide some pages from Sitemap.xml generated by Yoast. The problem that when i exlude the ID in the Exlude panel in Backoffice it works ...
0
votes
1answer
269 views

Category Name and Slug field need to be the same otherwise it breaks category pages

On our WP install we have Topics pages which pull together any content which has been tagged with that topic. Standard. When we visit the topic admin page and edit the Name field (so it's different ...
0
votes
1answer
486 views

seo meta description issue in google search

This is my first time to use Yoast SEO plugin in my website, I'm trying to add meta description to every pages and every post in my website. When I search it on google, seems like the meta ...
0
votes
1answer
47 views

Facing Problem with Description in Post and Home Page in Wordpress

Recently I've configured SEO by Yoast for better On-page. But, after analyzing the SEO score and different aspects of it I found out that the template is considering General > Tagline as the Meta ...
0
votes
1answer
107 views

Setting Custom Wordpress “Posts page” AS “Front page”

While I don’t necessarily wish to establish a "STATIC" Front page, I would like to employ a custom page as BOTH my "Posts page" and my "Front page". I’ve created a PAGE titled "Teaching Kids To…" ...
-1
votes
1answer
20 views

Yoast SEO makes repeated INSERT queries loading any page

By using Query Monitor plugin I found that Yoast SEO (Wordpress SEO) plugin makes repeated INSERT queries to the db when I load any page (dashboard and frontend) of my site. INSERT INTO `...
-1
votes
1answer
560 views

Yoast Seo noindex added to pages outside wordpress

I have called the wordpress theme header outside wordpress to serve static pages. Unfortunately the Yoast plugin now it is adding the noindex meta tag to those pages, therefore those pages are not ...
-1
votes
2answers
2k views

Fatal error in wordpress

I am new to this group. After I installed YOAST SEO plugin i'm getting this error message "Fatal error: Call to undefined function apply_filters_deprecated() in /home/ipzen/public_html/wp-content/...
-1
votes
1answer
188 views

TypeErrors with Yoast, jQuery in conflict?

The update to version 4.7 of Yoast have created a big problem. It not works and I can't "Rolleback" for prior versions. Only until to version 2.3.5 works. Here the errors in the browser console: It ...
-2
votes
1answer
965 views

how to add urls dynamically into the sitemap

I basically want to add such urls to my existing sitemap index. I'm currently using WP SEO by yoast, but I'm open to trying out alternative plugins. My urls are currently like this... e.g www.mysite....