Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-wp-seo-yoast]

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

0
votes
0answers
8 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
13 views

Wordpress yoast seo plugin - parse snippet var in meta description

I am using this function to get the yoast meta description $metadesc = get_post_meta( $id, '_yoast_wpseo_metadesc', true ); But it is returning the snippet variable. From transitional styles %%...
0
votes
1answer
13 views

Custom Yoast Breadcrumbs URL

I'm trying to change the link in the default Yoast SEO Breadcrumbs. The current Breadcrumb is Home / Projects / My Pretty Project And I want to change the "Projects", and it's link, to "Case ...
-1
votes
1answer
12 views

uninstall yoastseo

I've installed YoastSEO plugin on my site. And site is live. Also I've made setup previously through plugin. But, now I want to uninstall it becuase of it's limited free functionality. Does it effect ...
-1
votes
0answers
35 views

Meta tags of open graph on the body

I have Yoast SEO plugin, and this put the meta tags of open graph on the <body><header> instead of the <head></head>. I don´t understand why the plugin made this, apparently ...
0
votes
0answers
8 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 ...
-1
votes
1answer
18 views

How to clean up unnecessary file inside wp-content/plugins/wordpress-seo?

I currently maintaining 7 years of Wordpress site. Disk usage are recently full, so I need to check automatic back up regularly and save those back up, and delete it from the server. And when I ...
1
vote
1answer
29 views

My WordPress website has 2 header [closed]

My WordPress website has 2 header and showing yoast plugin 2 times in source code. I want to delete one, so that its not show meta tags twice. Is there anybody can help?
0
votes
0answers
18 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
39 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
20 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 ...
-1
votes
1answer
16 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
vote
1answer
195 views

When does the Yoast SEO filter hook wpseo_sitemap_urlimages fire?

I am trying to attach a simple function to the Yoast SEO filter hook wpseo_sitemap_urlimages and get the function to run, but I cannot do so. My code is: function tp_filter_wpseo_sitemap_urlimages($...
-1
votes
2answers
255 views

How to parse Yoast SEO Snippet Variables

I see Yoast stores the snippet variables in the database. I'd like to get their values and ship them via the WP REST API. I'd also like to keep the Admin functionality for Administrators and the ...
0
votes
2answers
39 views

How can I change the <head> tag contents of individual Wordpress posts?

How can I change the tag contents of individual Wordpress posts? I want to add a meta tag for keyword. I use Yoast SEO but even though I specify the focus keyword, no keyword is added in the meta ...
0
votes
2answers
339 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
117 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; ...
1
vote
1answer
40 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 ...
0
votes
0answers
22 views

New Index coverage related issue for all the “Tag” pages in Google Webmaster tool

I have a blogging website in Wordpress. I am using Yoast SEO for sitemaps. I got the following error message in Google webmaster tool: Search Console has identified that your site is affected by 1 ...
0
votes
0answers
78 views

Remove Yoast og:locale:alternate

Is there any way to remove <meta property="og:locale:alternate" content="en_US" /> <meta property="og:locale:alternate" content="hi_IN" /> <meta property="og:locale:alternate" content=...
0
votes
1answer
369 views

Query Post Based of Yoast Primary Category Class

I can pull the terms from a post to return only the Primary Category that Yoast SEO plugin provides. But what I'd like to do is the following: Query latest 1 post from category "x". But, the post ...
0
votes
1answer
248 views

Can I change the contents of a description meta tag generated by Yoast?

Essentially I have the Yoast plugin handling my SEO related things. The main one giving problems is the description meta tag. The site is bilingual and I would like the description meta tag to be ...
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 ...
1
vote
0answers
41 views

306 MB of wp_options occupied by WordPress SEO Plugin, is that normal? [closed]

I realized that my wp_options table is huge, hitting 473.2 MB, which made me curious. Then I started to run a few queries until noticing that the following query returns 306378195 bytes, or ~306 MB. ...
0
votes
1answer
95 views

How to remove Wordpress Virtual Robots.txt that keeps overriding my root robots.txt? [closed]

So here is the issue. I am trying to remove the virtual robots.txt file in a wordpress site. I realized this was generated with a plugin (xml sitemap plugin) prior to me working on the site. Here is ...
0
votes
1answer
73 views

Divi Blog Module Plugin and YOAST SEO “Primary Category”

I am using the Divi Template and have YOAST SEO installed. YOAST SEO has the great feature to assign "Primary Categoy" should a post have more than one category. Now the Divi Blog Module offers that ...
0
votes
1answer
116 views

Is there a straight-forward way to provide a meta description tag via Yoast SEO, programmatically, without relying on the admin panel?

I'm curious if there's a supported method for providing the <meta og:description="%VALUE%"> tag to my page for a custom template. So far I've added an action to wpseo_head to echo out a meta ...
1
vote
1answer
56 views

Remove YoastSEO meta description from output/source [closed]

I want to have a drop down for my client to choose a particular set of meta descriptions, I can get that meta description to appear but I can't seem to find a way to get the existing YoastSEO meta ...
0
votes
0answers
25 views

How to autogenerate custom yoast social media cover image

I have a WordPress blog and I use Yoast for SEO purpose. I want my facebook and twitter posts to have a custom image cover, so I have written a PHP script that takes the cover image of a post, applies ...
0
votes
0answers
106 views

How to make a cron job for the sitemap?

I used Yoast plugin. It updates my sitemap whenever I published a post. I do not have any schedule for publishing posts. So sometimes I published 50 posts in the morning and I do nothing till two days ...
0
votes
0answers
50 views

property=“og:image” doesn't register with including a php file as a shortcode in WP Post and Pages

I would love some help or a direction to a point of solid research on this issue. From what I understand, and my current research, wordpress by default out of the box does not support php files to ...
0
votes
0answers
103 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> <...
1
vote
1answer
307 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: ...
0
votes
1answer
37 views

How do I change the <title> element using a custom function?

I am trying to add meta titles via the Yoast SEO plugin. My theme is not compatible with this -- the resulting <title> tag is a concatenation of the Yoast title and the theme's title. One ...
0
votes
0answers
20 views

How to make WordPress create a query based on a slug?

How to make WordPress create a query based on a slug ? For example I have my wordpress site url as http://example.com/. I want to generate a page based on the slug provided on the url. This is a ...
0
votes
0answers
28 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
642 views

YOAST Seo xmlsitemap menu item not showing in the dashboard [closed]

2 days ago I have updated YOAST seo plugin in my WordPress website. All of a sudden the xml sitemap menu disappeared from the dashboard following this update. Any one have any thoughts? Note:I do ...
0
votes
1answer
2k views

How to rewrite title- and meta-description templates for page templates in Yoast Plugin [closed]

I am working on an project with many different page templates instead of custom post types. For SEO purposes I need to rewrite the title- and meta-description, which normally works on the page itself. ...
1
vote
1answer
473 views

force category base - archive pages work WITH & WITHOUT category base slug in url?

I need any posts of any category (and archive pages) to route through /blog/. I added "blog" to my category base, but now both website.com/blog/my-category/ AND website.com/my-category/ both display ...
1
vote
0answers
62 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
3answers
2k views

htaccess: Remove trailing slash from URL ending with .xml/ only

I need to remove trailing slash from URLs ending with .xml/ only .. For this purpose I've created a Rewrite Condition and Rule which is working perfectly fine for the test link http://website.com/test....
1
vote
0answers
363 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 | ...
0
votes
1answer
30 views

How to see more Wordpress images when posting to Facebook

I have a Wordpress site with a premium theme and Yoast SEO installed. In my posts I use a lot of images inserted into text and then the rest as a gallery on the bottom. When sharing the post on ...
0
votes
1answer
838 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
1answer
98 views

Remove all stop words from old permalinks

I am trying to remove all stop words from permalinks in Wordpress for future and old content. Yoast provides this as an option for future URLs but there's no bulk update for old permalinks. I ...
0
votes
1answer
431 views

Remove canonical link element from noindex pages

Strange, _yoast_wpseo_meta-robots-noindex isn't a hook on hookr.io. Do you know of a script to remove Yoast's output of rel=canonical on noindex pages?
-1
votes
1answer
364 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
1answer
218 views

Wordpress Yoast SEO plugin Post Save/Update Issue

The Problem Whenever the Yoast Premium SEO plugin is active, posts are unable to save/update properly in the Admin Menu. After hitting the Update button, I found that all the custom theme shortcodes ...
0
votes
0answers
129 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/...
-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/...