Questions tagged [plugin-wp-seo-yoast]

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

Filter by
Sorted by
Tagged with
2
votes
0answers
505 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
481 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
138 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
535 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
508 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
47 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
115 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
917 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
2k 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
643 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
389 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 ...
2
votes
1answer
765 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
400 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
18k 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
12k 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
211 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
141 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
462 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 ...
0
votes
3answers
4k views

How to remove/hide Yoast's “SEO” tab in admin panel?

I don't want this shown to members who register for my website as it's confusing and irrelevant for them. I assume some code added to functions.php will do the trick but what code?
3
votes
4answers
17k views

Add a meta description to home page?

I have the theme Hatch and I can't figure out how to change the meta-description of the home-page. It is not an actual page, it is the default view for posts. Have searched everywhere for an answer ...
1
vote
1answer
935 views

Change content language for one page

I have one page witch has a different language then the rest of the site. I looked in to many plugins but I can't find a way to chance the content language <html lang="nl-NL" prefix="og: http://...
2
votes
1answer
262 views

Why doesn't YoastSEO allow me to set the title/description for the home page? [closed]

For some reason, YoastSEO set my home page to the first blog post. So the home page canonical, title, and description are set to the values of the first blog post. And when I tried to set the home ...
21
votes
1answer
21k views

How to display Yoast SEO meta description in archive template for each post instead of the_excerpt()? [closed]

I read this question but it wasn't what I was looking for exactly. I'm new to Wordpress and a little confuse with the functions and everything. How can I get the metadescription in the loop for each ...
1
vote
1answer
2k views

How to solve Robots.txt problem with WordPress fresh install?

I installed a fresh copy of WordPress few weeks ago and I have been having some strange problems. 1- I get this message : "Comments for FirstName LastName name-last.com/‎ A description for this ...
1
vote
2answers
826 views

Wordpress appends RSS item with unwanted content

Wordpress is adding a message to the end of each item in RSS feed that reads "The post [post_name] appeared first on ]site_name]." I want this message to go away. I browsed through a my feed.php ...
0
votes
1answer
107 views

Setting Custom Wordpress “Posts page” AS “Front page”

While I don’t necessarily wish to establish a "STATIC" Front page, I would like to employ a custom page as BOTH my "Posts page" and my "Front page". I’ve created a PAGE titled "Teaching Kids To…" ...
-1
votes
2answers
93 views

Enabling canonical links to force search engines to go to site.com rather than site.net [closed]

I want visitors who have typed site.com, stay on site.com and visitors who have come to site.net, stay at site.net (They have one host and site.net has been parked on .com). When it comes to search ...
8
votes
1answer
14k views

How to add a page to the Yoast breadcrumbs

I am using Yoasts Wordpress SEO and I have set up my breadcrumbs. The problem is that my page setup is s follows. / /about /blog - On this page I query the posts and display them. The posts ...
2
votes
2answers
934 views

How to use Yoast SEO backend in english even if WPLANG variable is not english?

I added this code to my functions.php file add_filter('locale', 'wpse27056_setLocale'); function wpse27056_setLocale($locale) { if ( is_admin() ) { return 'en_US'; } return $...
0
votes
1answer
514 views

P3 Profiler and Yoast SEO plugin

I have profiled my blog with the P3 Plugin and it pointed out that Yoast SEO slows down the site a bit. I then found out that the biggest performance penalty is paid when you "force rewrite" the ...
0
votes
1answer
784 views

Set domain level rel canonical with Yoast SEO [closed]

i have two single woocommerce installs (not multisite) that publish the same content (products etc). i want to add a cross domain level rel canonical to the second domain, such that - www.domain2.com/...
12
votes
4answers
30k views

Display Yoast WordPress SEO title in archive template

The WordPress SEO plugin by Yoast allows users to add SEO titles and meta descriptions to taxonomy term archive pages. These are then used in the head of the document. I´m trying to display the SEO ...