Questions tagged [plugin-wp-seo-yoast]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
215 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
1answer
560 views

alt tags of the images are not saving/emtpy

When I try to add an alt tag of an image via the library in Wordpress the alt tag is not saving. After leaving and coming back to the library again the alt tag fields are empty. I’ve tried the ...
0
votes
1answer
802 views

How to loop through yoast primary categories? [closed]

Is there any way I can edit the below so that it will only get posts from the category if the post has been assigned as the primary category that Yoast SEO adds? I only want to get posts that have ...
1
vote
2answers
1k views

Exclude custom post_type in sitemap generation?

I want to exclude some specific post types from generating sitemaps in yoast seo plugin. Please provide suggestions to do this. Thanks in advance.
0
votes
1answer
116 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
719 views

WP-RestAPI and xml sitemap

Using the WP-RestAPI to pull a wordpress blog into an angularjs application. Works extremely well. The blog is using Yoast SEO for the for meta descriptions and keywords. I would like to use the ...
1
vote
1answer
4k views

Inserting Post Using wp_insert_post. How to Fill Yoast Plugin SEO Fields

I am inserting posts into a database using wp_insert_post function once the post is inserted using below line of PHP $postId = wp_insert_post($array) I can insert values in my advanced custom fields ...
0
votes
1answer
311 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 ...
-3
votes
1answer
343 views

Can anyone help me with replace genesis post excerpt with yoast meta description and if there is no meta description show the excerpt?

Hellow, I did replace the genesis post excerpt with the yoast meta description in my child theme, but the problem is, I want to show the post excerpt when there is no meta description again. the ...
1
vote
2answers
2k views

remove rel=next on home page but not others

There is a major problem with most new templates for WordPress that want you to set your homepage to Your Latest Posts. This is to enable many of the great theme features to work. The problem with ...
2
votes
3answers
419 views

Yoast SEO Calling content filters 2 additional times

I was trying to add a content filter and i discovered that the filter was being called 3 times in total. I tried slowly deleting all of the plugins and eventually found that it was Yoast that was ...
0
votes
1answer
51 views

Declare global var from Template File and use it in Functions.php

I am using the wpseo_title filter to rewrite the authors page titles from my site. I have the following code in author.php template: <?php global $author_page_titles; $author_page_titles = ...
0
votes
1answer
1k views

Yoast Seo Plugin meta title not showoing [closed]

I am using latest wordpress 4.5 and latest version of Yoast seo plugin. I have filled all the options of yoast seo on page like focus keyword, seo title, meta description etc. But when i view the ...
1
vote
1answer
162 views

help to write a custom php script to settingup yoast priority to pages or posts

I'm trying to improve this tutorial script including a switch in the first ifcondition to assign a custom priority to my Yoast Xml Sitemap only to certain post or pages. So i'm trying to say to ...
2
votes
0answers
518 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 ...
0
votes
1answer
493 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
2k views

How to remove Date from Meta Description on SERP?

I noticed on a few recent projects the Date is displaying in the Meta Description for all Custom Post Types and Taxonomies in WordPress. I was always under the impression the Date would usually show ...
1
vote
1answer
3k views

How Yoast SEO plugin works with variable %%name%%?

I know that Yoast SEO plugin doesn't create any database table then why in wp_postmeta numbering of meta_id are not continuous? Is it because of Yoast Plugin? Also I want to know how its feature of ...
1
vote
0answers
145 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: ...
0
votes
1answer
69 views

What could be causing the category to be appearing as the post title in the title tag?

As the title of the questions states, I have this site where in the title tags, the category is appearing as the post title, which is killing my client's SEO, of course. I've disabled all plugins that ...
1
vote
1answer
555 views

Customize title, description and focused keyword [closed]

I would like to customize focused keyword, SEO title and meta description, but I am unable to find any clue how to do it. There is official documentation but it is sooo lacking... I came up with ...
1
vote
2answers
559 views

Adding multiple taxonomy filters to functions.php

I need to add multiple taxonomy filters to the functions.php file to remove (3) irrelevant taxonomies from the Yoast SEO sitemap index. I have been able to successfully add one filter, but when I add ...
0
votes
1answer
50 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 ...
1
vote
2answers
2k views

Yoast SEO hooks overriding themselves

I have some dynamic templates where I have to customize the canonical links. According to Yoast documentation the hook to use is wpseo_canonical I have two functions pointing to different pages IDs:...
0
votes
1answer
132 views

Missing content on author archive page

I got problem when I deal with the 'author archives' pages. Initially I used default 'archives.php' from my theme. Then I add a 'author.php' page, tested on my local machine, it was ok to show the ...
1
vote
1answer
991 views

Set different Canonical url programmatically for every post

I want to set the set the cannonical url programmatically for every post. By that I mean when creating/editing an article there should be the possibility to set a custom cannonical url for it. (maybe ...
1
vote
1answer
2k views

robots.txt Not Updating

Today I received an email from Webmaster Tools stating that "Googlebot cannot access CSS and JS files". So I set about updating my robots.txt file located in the root of my server. Original Contents: ...
-1
votes
2answers
1k views

Only show sub-category

I have a news system with a thumbnail and a box on it that show the category related to the news, using <?php the_category(', '); ?> This worked fine using only one category for each news, but ...
0
votes
1answer
1k views

Changing Post Sitemap Frequency to Hourly [closed]

I'm in the process of overhauling my site and I need to make sure Google is getting the most recent versions throughout the process. I'm using WordPress with the Yoast SEO plugin. In their knowledge ...
0
votes
2answers
4k views

How to override the title tag for woocommerce endpoints?

I am trying to set the title tag for Woocommerce pages that have endpoints. I am using Yoast SEO and so far have created this: function woocommerce_endpoint_titles( $title ) { $sep = ' | '; $...
1
vote
2answers
3k views

Yoast Seo Plugin - Set no-index to a post automatically when a post is set to sticky [closed]

I am a content supervisor on a wordpress site, it uses wordpress seo by yoast plugin. My duty includes analyzing the content and marking it sticky if seems fit. When I mark a particular post as sticky,...
1
vote
2answers
3k views

add post content in meta description in yoast

How can I add post content in meta description via Title & Metas? I have seen excerpt variable %%excerpt%% but it will give only excerpt but I want whole content in meta description. Can any one ...
0
votes
1answer
1k views

Overwriting yoast's og:meta output?

I'm working on a blog with hundreds of old posts, and new posts being added daily. I can't change their flow of filling out the yoast meta tag for title. They want the og:title value to be something ...
0
votes
1answer
681 views

Genesis / custom template page / setting the page title and meta desc

My WP site is running Genesis. I've just implemented my first custom page template in a child theme. The template runs some PHP and makes some data available to any page based on the template using ...
0
votes
1answer
402 views

Why I can not modify the appereance of my title web site in google? [closed]

I have tried everithing I have thought, but I could not solve it. The problem is that when I search my website domain in Google it appears like this: Which is different that the tittle I have ...
3
votes
1answer
790 views

Why do I get a 404 for my sitemap index after installing Yoast? [closed]

I just installed the Yoast plugin on my Wordpress blog, so that I can automatically create my sitemap xml. However when I visit the page sitemap_index.xml I get a "404 page not found" error. Why isn't ...
0
votes
2answers
1k views

Remove Yoast jQuery from front end

I would like to remove the following two script and one style tags. They appear to be added by the Yoast SEO plugin, but looking through their plugin files yields nothing promising. Does anyone know ...
1
vote
2answers
1k views

Add meta value to custom post type on publish

I have a client who is requesting that all posts of a certain custom post type (called 'custom-jobs') be set to automatically be included in the sitemap in the Yoast SEO plugin. I found that in ...
1
vote
1answer
421 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 ...
3
votes
2answers
19k views

Set Custom Post feature image as og:image

I am trying to set the Featured image as the og:image I have tried various ways and plugins (Yoast) but finding it hard to get my head around this. The issue is that it isn't picking up the feature ...
5
votes
3answers
13k views

How can I modify the Capability needed to access a plugin's options?

I have the following 3 different Roles: Admin, Editor, and SEO. I have installed WordPress SEO by Yoast, and I want to get this: I don't want the editors to see the SEO options, because they only ...
0
votes
1answer
212 views

How do I create custom tags for Wordpress SEO? [closed]

I'm using Wordpress SEO by Yoast, the free version and wondering if there is a way to create custom tags such as %%city%%. I want to make my own that can pull data from another plugin i'm using as a "...
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 ...
0
votes
1answer
144 views

Turn off auto 301 on archive pages? [closed]

I'm currently using infinite-scroll. The scroll ends when it reaches a 404. For example it will look for category/cars/page/2 category/cars/page/3 etc until it hits a 404. The problem is that ...
2
votes
1answer
482 views

XML Sitemap : broken XML file [closed]

I use WP SEO by Yoast to generate sitemaps and the sitemap generated for custom types has a short hexa string at the beginning that invalidate the whole XML file : 148e2 <?xml version="1.0" ...
-1
votes
2answers
2k views

yoast seo plugin - remove bulk title and description editor menu from non-admins [closed]

Is there a way to remove the yoast-seo-plugin's bulk title and description editor menu from the non-admins. It is an awesome feature but I would like my users to keep off from it. I am using the very ...
0
votes
1answer
1k views

Show Sitename on Yoast SEO Title tag [closed]

I am using Yoast SEO plugin on a site. Right now if a Post's Title is left empty in the metabox for a post, then the Title tag will output in this format... %%title%% %%page%% %%sep%% %%sitename%% ...
1
vote
3answers
5k views

Manipulating wp_head content

I'd like to know if it is possible for me to manipulate the output of wp_head()? Right now I'm using the Yoast SEO plugin to add some social tags into my posts (og:*). Now this site is an remake of ...
2
votes
2answers
1k views

Hide Meta Boxes for Non-Admins

I have a review based wordpress site where I have a page for each different company where there users can review them. The theme I use adds a custom post type called "review" and I have used Press ...
6
votes
2answers
5k views

Advanced Custom Fields and Yoast SEO keyword analysis [closed]

The problem I'm having is the keyword page analysis tool doesn't read my custom fields so I am trying to figure out how to run a filter on them. I found a blog post on Yoast website here here which ...