Questions tagged [plugin-wp-seo-yoast]

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

73 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
45 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
185 views

Using 'Primary Category' in URL

I'm running into an issue where I want to set up categories in my URL (%category%/%postname%), but doing this will create multiple URLs for the same content if I select multiple categories. So, for ...
2
votes
0answers
548 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
0answers
192 views

Regex expression for redirecting image URLs to another folder

I have changed the upload folder to a folder called "images" in the root folder by entering define('UPLOADS', 'images'); inside wp-config.php file. My Media settings had the images organized into ...
1
vote
0answers
148 views

Shortcodes not working in category or tag description

when Yoast plugin is enabled shortcodes not working in category or tag description I used this and this article and add these codes to the function but nothing change please help me. add_filter( ‘...
1
vote
0answers
17 views

Variable focus word YOAST

I had a task to add alt and title to the images of goods. I took advantage of the solution that I found in the Internet: https://stackoverflow.com/questions/27087772/how-can-i-change-meta-alt-and-...
1
vote
0answers
207 views

Auto-Select Parent Category as Primary

I am using Yoast SEO Premium to handle the selection of Primary Categories. I am currently working with a Listing (listing) custom post type with a hierarchal taxonomy of Listing Category (listing_cat)...
1
vote
1answer
60 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
25 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
0answers
85 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
vote
1answer
75 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
989 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
65 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
468 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
1k 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
237 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
179 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
1answer
457 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
18 views

display the tag description in the site template

I want to display the tag description in the site template. I searched and found this code but it shows the description of the last post <?php echo WPSEO_Meta::get_value("metadesc"); ?>...
0
votes
0answers
17 views

Subcategories randomly not working after page/post/category edit in wordpress. Fix: saving permalinks twice

We run a custom WP theme with some plugins including Yoast SEO premium and WPML. We also run a version without WPML. In the version WITH WPML subcategories (quite randomly) give back a 404. This seems ...
0
votes
0answers
19 views

An inactive plugin causes an HTTP 404 issue on a translated post - WPML

I help manage https://www.delscookingtwist.com/, a bilingual food blog which runs Wordpress (need I say that?) along with several other plugins including Yoast SEO and WPML. Recently, I noticed 404 ...
0
votes
0answers
49 views

Does anyone know why my SEO and title become one?

<h1><?php wp_title( '|', true, 'right' ); ?></h1> Does anyone know why my SEO and title become one? I use the above code to display the post title When I change the title of SEO, ...
0
votes
0answers
13 views

Check if page is set to noindex?

If using Yoast or Rankmath, how can I check if page has noindex meta tag? I want to use WP Query to find all pages that have noindex.
0
votes
1answer
18 views

My page is shown as archive in my site

I've made a real estate website with Wordpress and I'm facing some issues. People register on the website as users, agents and agencies. On the agencies page where all registered agencies show it ...
0
votes
0answers
10 views

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 as: example.com/blog, example.com/blog/page/...
0
votes
1answer
13 views

Why is URL Slug Saving Differently From How It's Been Defined?

When editing this page in the dashboard, I've defined the URL slug as ft-lauderdale. Also, the title of the page is 'Ft. Lauderdale', and the slug in Yoast is ft-lauderdale: However, when I view this ...
0
votes
0answers
21 views

Updating Wordpress Yoast Meta description through SQL Query

I have updated wordpress post's Meta description through SQL Update query. But it doesn't reflect on my published wordpress post until i edit that post and click on update button. How can i fix this ...
0
votes
0answers
33 views

Custom Yoast Breadcrumbs URL to make the breadcrumbs more detailed

Would like to modify the Yoast breadcrumbs. The current Breadcrumb is Home / Listings / City / ListingName And I want to add 2 more crumbs and delete Listings: Home / Area / State / City / ListingName ...
0
votes
0answers
18 views

WooCommerce custom role not working

I am trying to add WooCommerce product adding/editing capabilities to the Yoast SEO Manager role, however all it does is add the WooCommerce menu icon to that user role, and not the products tab, so ...
0
votes
0answers
25 views

Get if a current post or term has noindex in Yoast SEO programmatically

I'm trying to get if actual post/term object is no index by Yoast SEO. It's easy with post: $no_index = get_post_meta( get_the_ID(), '_yoast_wpseo_meta-robots-noindex', true ); But, what about terms? ...
0
votes
0answers
15 views

How Do You Grab The Current Post Title From A Dynamically Generated Page?

I'm trying to change the Open Graph metas that yoast inserted into my dynamically generated pages. For some reason I just can't get the actual title of the page. Unfortunately, all the examples give ...
0
votes
0answers
27 views

Removing Yoast from Specific Template

We have a custom template, content generated by an API so no WordPress edit page, and Yoast is spitting out meta data that is based on our most recent blog post, so entirely unrelated to the custom ...
0
votes
0answers
20 views

Yoast and permalink troubleshooting

For first let me introduce what I've already discovered. I don't know how Yoast calculates the permalink but it's non standard and that fact creates a lot of problems. There are some filters to force ...
0
votes
0answers
108 views

Adding data to Yoast Meta Title/Description through Wordpress Rest API

I have been trying to add data via WordPress Rest API to the Yoast fields of meta title/ description but it doesn't seem to update it. I have used the following code where I have passed the meta ...
0
votes
0answers
90 views

Canonical url in wordpress post pagination

I have pagination using in my wordpress posts & pages. I need to set the main page url as canonical in my paginated pages. For example In the page https://sapbrainsonline.com/mm-tutorial/4 I need ...
0
votes
0answers
14 views

Updating YOAST metatitle + metadescription within a custom taxonomy?

I was just wondering if there was a way to update the yoast metadescription/title for a custom taxonomy? I know that posts have: update_post_meta($post_id, '_yoast_wpseo_metadesc'); Which is nice ...
0
votes
0answers
14 views

Yoast highligh custom search result

Maybe someone in the WordPress community can help me with this. I am using Genesis with WordPress and I have created some functions with the help from others on the internet to make custom search ...
0
votes
0answers
110 views

Disable/ Remove canonical tag generated by wordpress

There is problem in my wordpress site. It is showing duplicate canonical URL issue because yoast and WordPress or some other plugin both are creating canonical tag. I have tried to remove the ...
0
votes
0answers
20 views

My wordpress local urls is still displayed even moved to live

My wordpress local urls is still displayed in some pages even moved to live. How do i fix this, local urls displayed in "canonical link", " meta property="og:locale" code, "schema code". NB: We are ...
0
votes
0answers
26 views

Comment replies are not nesting because of YoastSEO plugin

I am using a child theme of the Public Opinion theme by CSSIgniter. This child theme only has a few modifications. You can visit the website by clicking here. I am unable to nest comments from the ...
0
votes
0answers
7 views

Installing yoast wordpress plugin manually on google app engine

I am trying to install Yoast wordpress Plugin app google app engine. I am getting too many files error while deploying. Steps Followed: Downloaded Yoast Wordpress plugin unzipped plugin in wp-...
0
votes
0answers
22 views

og information not taken from custom post type single post

I have a custom post type, working fine, all of the yoast seo fields show in the single post menu. The problem is, that when I use the url on facebook, the all og data is not taken from the fields of ...
0
votes
0answers
73 views

Remove pagination pages of Wordpress Blog from Google Search Index

I have tried adding rel="prev" and rel="next" to the pagination. But the pagination pages pages still appear on Google Search Index. I want to remove them but Yoast SEO doesn't have the functionality ...
0
votes
1answer
78 views

Permalink not changing according to post type

I am using two post types: a) Posts ( Default post type) also name as blog for blogging. b) case studies ( Custom Post Type ) only for case studies. I want to add the string ‘blog’ for default post ...
0
votes
0answers
37 views

og image showing everywhere but homepage

I've set the default og image using yoast free, it works everywhere but on the frontpage (homepage). -the homepage is set as static page -there are both og image and og:image:secure_url set -...
0
votes
0answers
71 views

Yoast SEO plugin “could detect no serious SEO problems” on dashboard

In the Yoast SEO plugin dashboard (SEO -> General - Yoast SEO) of my wordpress blog, I see an orange check mark and the assuring text "Problems (0) Good job! We could detect no serious SEO problems" ...
0
votes
0answers
311 views

Show Yoast SEO meta tags in Custom WordPress Templates (Theme)

I overwrote twenty nineteen theme in WordPress and included all my templates. After that, I installed the Yoast SEO plugin to add dynamic meta tags to pages created using custom templates. I have ...
0
votes
0answers
70 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
1answer
22 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
299 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 ...