Quantcast
Channel: Active questions tagged yoast - Stack Overflow
Browsing all 97 articles
Browse latest View live

Does archiving and then re-instating pages on WordPress negatively impact SEO?

I am trying to establish if Google will punish or reward a page that is toggling between archived and live every few months.For example:A page is created using WordPress for an event that is taking...

View Article


Google Search Console - Excluded by noindex tag

I have a WordPress site with pages that Google Search Console (GSC) reports as "Excluded by ‘noindex’ tag"The robots.txt file accessed by the Yoast plugin is as follows though:User-Agent: *Allow:...

View Article


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 avail.

View Article

YOAST 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 Article

LinkedIn 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 Article


How 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 Article

Pagination 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 Article


Wordpress 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 Article


Dynamically 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 Article

How 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 Article

WordPress/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 Article

images on my wordpress site are showing as separate pages in search console...

Images on my webiste are showing are separate pages in search console! how can I solve this!something like thishttps://example.com/wp-content/uploads/imageIs it goood to disallow wp-content/uploads/ in...

View Article


Adding a Yoast Canonical when a new post is published in WordPress

I need to add a Yoast canonical tag only when a post is published. If the post is already published and updated I do not want to update the canonical tag. I'm using add_post_meta but the function only...

View Article

Create 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 Article


Cant 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 Article

Yoast. 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 Article


YOAST 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 Article

Facebook 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

Image may be NSFW.
Clik here to view.

How to remove specific post type indexes from Yoast sitemap_index.xml

I used Yoast's API to create a custom XML sitemap that combines all of my website pages and a few other post types into one. I do the same thing for translated pages so that they are in their own...

View Article
Browsing all 97 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>