Wordpress shortcode not rendering in Yoast og:title
I have a simple shortcode which i use on post titles:add_shortcode('year', 'year_shortcode');function year_shortcode() { $year = date('Y'); return $year;}add_filter( 'single_post_title',...
View ArticleCannot update Yoast SEO post meta to no index based on ACF field
I am trying to update Yoast post meta to set no index based on an ACF field, but it is not working anymore. Setting an ACF field is way easier for clients than going to the Yoast SEO plugin settings on...
View ArticleHave a issue with the structured data of my website
My website is on WordPress and has a Yoast plugin for SEO.Problem:- My website it changed but Google but in result it shows the older pages that I had on my older website as shown in this image and I...
View ArticleHow to Add Meta Title and Description in Yoast with WordPress Rest API?
I'm trying to add a title and description in Yoast with WordPress rest API, but I didn't found any way of doing so. If you know, please help me :)
View Articlehow delete Auto redirect Url in Yoast seo premium
In Yoast seo premium when change post url, old url automatically redirect to new url, where this url saved ? and how i can remove or delete this redirect?
View Article"Page not found" due to modification of slugs in Wordpress, how do I fix it?
When performing an SEO optimization on Wordpress (with the Yoast plugin) I modified some slugs. Now within those modified pages I find links that take me to "page not found", broken links. I've already...
View ArticleHow to configure Yoast to accept a URL to a remote image for the social image
I'm running Yoast SEO plugin on my Wordpress site. I'm using the plugin mainly to be able to set the og:image, og:title and og:description for each page. By default, you can only set the "Social Image"...
View ArticleHow to configure YoastSEO for redirecting duplicate subdirectory paths in...
I'm working with a WordPress Multisite setup where one of the subsites is located in a subdirectory named /en/. I've encountered an issue where URLs that include a duplicate subdirectory path,...
View ArticleWordpress > Yoast > How to adjust (or disable) Meta-Robots for Comment-URLs?
It would be wonderful if someone could enlighten me about the use of meta-robots for comment-urls in Yoast.As you can see in the source code of these example...
View ArticleCan I change the contents of a description meta tag generated by Yoast in a...
I am quite new to WordPress so I am not sure how this would work.Essentially I have the Yoast plugin handling my SEO related things. The main one giving problems is the description meta tag.The site is...
View ArticleI am trying to override Yoast breadcrumbs using the PHP...
I am getting an undefined array error. The goal here is to override the second link to simply go back one page. An example isCustom Templates > Category > TemplateI added the following code to...
View ArticleLooking for a free way to add breadcrumbs to my website, I still haven't...
So I have been trying with Rank Math, Yoast, with the little code embedded, but nothing seems to be clear in terms of letting WordPress/Elementor the structure of my website, which parent pages after...
View ArticleHow to fill the YOAST SEO Meta data when creating a post using API
I'm trying to insert meta description for my Wordpress post, but the meta-description is always empty.This is my code:post_data = {'title': title,'content': markdown.markdown(content),'slug':...
View ArticleHow can I move the Yoast Schema.org markup to the bottom of the head?
I'm trying to figure out how to move the Schema.org markup that Yoast outputs to the bottom of the head.The only filter I've been able to find only removes the :add_filter( 'wpseo_json_ld_output',...
View ArticleWhy is my WordPress website using page link indexing with '/?p=123', and how...
My website has many pages indexed with URLs like '/?p=123'.Upon checking, all these URLs work correctly and redirect to the appropriate pages.However, these URLs are not found in the sitemap. We have...
View ArticleHow to disable Yoast SEO in specific page?
i'm trying to hide the title tag of the head of my template. I'm using this code:add_action( 'template_redirect', 'remove_wpseo' );function remove_wpseo() { if ( is_single ( 123456 ) ) { global...
View ArticleWordPress Gallery thumbnail and single post issue after migrating to new host
After migrating to new host,i am facing a strange issue of Media image file's thumbnail while uploading to media gallery and also during editing or adding new blog post. The exact problem is as...
View ArticleLinkedIn API - Server 500 Error on some pages
I have a wordpress site built with a custom theme - I'm having problems getting previews to show while sharing some pages on LinkedIn (while they work fine in Facebook)Using the LinkedIn Post Inspector...
View ArticleHow set meta description for Yoast SEO plugin from Open AI in WordPress
I have recently developed a WordPress plugin that utilizes Open AI to generate descriptions and other data for products. One of the challenges I'm facing is integrating the generated meta descriptions...
View Article_yoast_wpseo_title/_yoast_wpseo_metadesc for a taxonomy
I would like to make some bulk edits on the above field for the taxonomies on my site. However, after having examined in detail all the tables and fields, I have been unable to find them for the...
View ArticlePagination url canonical problem for other pages
I have a WordPress Page setup, named 'Blog', where I've added the WP Query to bring through my blog posts.I also have pagination, setup on these pages such...
View ArticleWordpress Yoast exclude posts from XML sitemap
I’m using Yoast SEO plugin and I'm trying to exclude posts manually from posts XML sitemap using 'wpseo_sitemap_entry' filter but so far have no luck.This is my current code:function...
View ArticleDynamically remove event from YOAST sitemap if custom field has value
I have a wordpress site with over 100 events which all have a redirect. I want to exclude these from the sitemap ("3xx redirect in sitemap"-error). I'm using YOAST to create the sitemap.The way this...
View ArticleHow to Add Meta Description and Focus Keyword to Post via WordPress REST API...
I am using the WordPress REST API (wp-json/wp/v2/posts) to publish posts. The request works, but when I analyze the post in Yoast SEO, it says I need to add a meta description and a focus keyword...
View ArticleWordPress/Yoast SEO sitemap find and replace issue
So I have a WordPress site hosted on wpengine with Yoast SEO. So all the links in the site map are like https://example-site.wpenginepowred.com.We also use AWS cloud front to direct traffic to either...
View ArticleCreate a custom meta description for WordPress Blogs page
I want to write a custom meta description for my WordPress blog page. I don't have a custom front page, the posts page is the front page. I downloaded SEO by Yoast and added what I want to the Meta...
View ArticleCant validate facebook og meta after updating to https
I have recently apdated my site from http to https. The system is using wordpress, and posts are all using Yoast pluging for seating the information for facebook posts. After I updated to https, I lost...
View ArticleYoast. Display metadesc in categories
I want to display metadesc in my category’s pages like this: echo get_post_meta(get_the_ID(), ‘_yoast_wpseo_metadesc’, true);It works in posts, but doesn’t work in categories.In categories I write:...
View ArticleYOAST plugin does not work any longer in redirecting images
Since september 12th (this is an estimate) I cannot upload an image in YOAST and have it redirect when uploading the image to facebook. I have checked the changelogs of both YOAST and the graph API of...
View ArticleFacebook doesen't show image even if og:image is present and working
I debug a shared webpage link in facebook debugger and I get a 200 code as result.The Facebook Debugger can't show the image attached and also it doesen't show while sharing the URL. On Whatsapp and...
View Article