Questions tagged [plugin-wp-seo-yoast]

WordPress SEO by Yoast is a popular SEO plugin for WordPress. Questions about this and other 3rd party plugins are closed as off-topic here and not in this stacks scope.

Filter by
Sorted by
Tagged with
31 votes
1 answer
35k 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 ...
sambellerose's user avatar
22 votes
1 answer
30k views

Using php to overwrite or replace title tag, while using yoast [closed]

I use yoast for my seo, indexing, title, sitemap etc. But I have one issue, for my product pages I want to use costum taxonomy data and yoast doesnt support that. Now I got the code to echo the exact ...
Bram's user avatar
  • 335
17 votes
4 answers
45k 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 ...
Mattvic's user avatar
  • 929
12 votes
1 answer
24k 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 ...
Lucky Luke's user avatar
9 votes
5 answers
14k views

WordPress SEO by Yoast: Hide Meta Boxes in Posts for Non-admins

I have multi-author website and I am not very comfortable for allowing all members to enter SEO details in the posts they are publishing. I would like this would be visible only to Administrator of ...
Audrius's user avatar
  • 101
8 votes
2 answers
12k views

Remove the Yoast SEO Post Metabox [closed]

Yoasts SEO plugin adds a metabox to the post edit screen. I'm trying to remove this for users who aren't editors or above. I've tried putting a remove_meta_box call in on admin_init, trying to remove ...
Tom J Nowell's user avatar
  • 59.1k
8 votes
10 answers
6k views

Remove an action from an external Class

I'm trying to do something similar to this question here: remove_action or remove_filter with external classes? I'm trying to remove the <!-- This site is optimized with the Yoast WordPress ...
Brooke.'s user avatar
  • 3,893
8 votes
2 answers
34k views

How to roll back a WordPress plugin update?

Yesterday I updated WordPress SEO by Yoast to version 1.2.8.4 from version 1.2.7 and now my admin panel is messed up. I searched through the support forum but the plugin author has not replied to the ...
user avatar
6 votes
2 answers
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 ...
hyperdrive's user avatar
5 votes
3 answers
19k 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 ...
EliasNS's user avatar
  • 712
5 votes
3 answers
1k views

Allowing Yoast SEO plugin to track me

I've recently installed the WordPress SEO plugin by Yoast and it's asking me whether to allow it or not to track my blog? Seems like a stupid question on my part but I'm still new on the blogging ...
Panoy's user avatar
  • 105
5 votes
2 answers
6k views

How to print meta description to posts? [closed]

I want to show my meta description content above posts. But i don't know what function I need to call. Resume: i want to put meta description from Yoast Seo above the posts body.
ukelele2's user avatar
3 votes
2 answers
34k 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 ...
Kenny Van Sittert's user avatar
3 votes
1 answer
7k 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 ...
Sourabh Modi's user avatar
3 votes
3 answers
27k views

Removing "Noindex, follow" from pages [closed]

I am using WordPress SEO plugin written by Yoast. This plugin, by default, shows "noindex,follow" on every page. I am sure I know the file that displays "noindex, follow" but after much "tweaking" I ...
Sid's user avatar
  • 261
3 votes
1 answer
1k 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 ...
Chris's user avatar
  • 201
3 votes
1 answer
8k views

Custom Yoast Breadcrumbs URL

I'm trying to change the link in the default Yoast SEO Breadcrumbs. The current Breadcrumb is Home / Projects / My Pretty Project And I want to change the "Projects", and it's link, to "Case ...
Jamiew's user avatar
  • 31
3 votes
4 answers
21k 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 ...
user40427's user avatar
3 votes
2 answers
860 views

root-relative links for multiple parked domains

I have five domains pointing to the same server/wp installation. the domain names are important and my visitors need to be able to stay on their preferred domain as they surf through my site. how do ...
Gregory's user avatar
  • 569
3 votes
1 answer
268 views

Is checking whether the blog is installed necessary?

My Wordpress site has become kinda slow and unresponsive, so I am trying what can I do to speed it up by eliminating unnecessary database queries and other things. I stumbled across suggestion found ...
Ivan Topić's user avatar
3 votes
2 answers
4k 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 ...
Wombat's user avatar
  • 31
3 votes
1 answer
1k 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://...
Roy van Wensen's user avatar
3 votes
0 answers
827 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 ...
leighton_burley's user avatar
3 votes
0 answers
48 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 ...
Sunny Batabyal's user avatar
3 votes
0 answers
756 views

Can't access my WP dashboard: fatal error? [closed]

I can't access my dashboard. It started after making a 301 redirect using a plugin. The redirection won't load nor entry, so I refreshed the page and got this message: Fatal error: Call to ...
Aline's user avatar
  • 31
2 votes
3 answers
4k 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.
smile's user avatar
  • 21
2 votes
2 answers
8k views

Yoast SEO breadcrumbs: how to create a filter that uses the url slug for breadcrumb titles

I know we can manually edit the breadcrumb title for a page or post using Yoast SEO's breadcrumb functionality. But with thousands of posts and pages on an existing site this isn't desirable. My ...
tfmwa's user avatar
  • 21
2 votes
2 answers
4k 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 ...
Girish Bhutiya's user avatar
2 votes
2 answers
956 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 $...
m3tsys's user avatar
  • 2,047
2 votes
1 answer
5k views

SEO meta description and title tag Yoast SEO

I am using Yoast SEO and a custom header. this obv means that any code that yoast uses to input all the seo stuff such as title tag and meta description wont be there. I solved the title tag by ...
RSM's user avatar
  • 47
2 votes
3 answers
4k views

htaccess: Remove trailing slash from URL ending with .xml/ only

I need to remove trailing slash from URLs ending with .xml/ only .. For this purpose I've created a Rewrite Condition and Rule which is working perfectly fine for the test link http://website.com/test....
Hassan Alvi's user avatar
2 votes
3 answers
646 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 ...
user1889580's user avatar
2 votes
2 answers
1k 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 ...
Mark's user avatar
  • 21
2 votes
2 answers
6k 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,...
gurung's user avatar
  • 472
2 votes
3 answers
4k 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 ...
MitchellK's user avatar
  • 131
2 votes
3 answers
4k views

Yoast's WordPress SEO plugin is not showing the correct snippet [closed]

I am facing a problem. I am not getting the snippet which YOAST plugin showed me. The snippet in Google search is different from what YOAST is showing. Check out the screenshots (http://imgur.com/a/...
Chankey Pathak's user avatar
2 votes
2 answers
2k 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 ...
Aidan Knight's user avatar
2 votes
1 answer
342 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 ...
Genadinik's user avatar
  • 231
2 votes
0 answers
134 views

How do I get WordPress URL rewrites into Sitemap?

Consider the two following custom post types: Museums Bakeries With one shared taxonomy: Region I'm using rewrite rules to improve the URL structure, so I can serve pages to visitors such as: ...
rc_tn's user avatar
  • 21
2 votes
0 answers
767 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 ...
user1889580's user avatar
2 votes
0 answers
291 views

Yoast Sitemap grouping external sitemaps [closed]

I have a problem when adding external sitemaps to Yoast. I've managed to successfully add all my external products (which are hosted on a different project) using the wpseo_sitemap_index filter. ...
Carlos's user avatar
  • 121
2 votes
0 answers
574 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 ...
SativaNL's user avatar
  • 121
2 votes
1 answer
602 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" ...
Fabien Quatravaux's user avatar
1 vote
2 answers
8k views

Add Page number to Meta Description in Wordpress SEO by Yoast [closed]

The code below is from Wordpress SEO plugin by Yoast. I am trying to add the page number to the Meta description on paginated posts (to avoid duplication issues with Google). function metadesc( $echo ...
A.M.M's user avatar
  • 23
1 vote
3 answers
453 views

make the url unlimited

i want in wordpress long unlimited with no char limit i use plugin wordpress seo when i try make url like https://sitename.com/برمجة-تصميم-موقع-مركز-رفع-تحميل-تطبيق-تطبيقات-ايفون-اندرويد/ it show ...
div info's user avatar
1 vote
2 answers
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:...
Jaypee's user avatar
  • 337
1 vote
1 answer
3k views

Query Post Based of Yoast Primary Category Class

I can pull the terms from a post to return only the Primary Category that Yoast SEO plugin provides. But what I'd like to do is the following: Query latest 1 post from category "x". But, the post ...
acrane's user avatar
  • 101
1 vote
3 answers
7k 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 ...
tommica's user avatar
  • 21
1 vote
1 answer
5k views

Open graph problem: Showing wrong description of homepage while sharing on Facebook [closed]

Check out this URL: http://developers.facebook.com/tools/debug/og/object?q=www.linuxstall.com Everything is fine except the last line which is Note: "Reference in Perl" is the most recent post at my ...
Chankey Pathak's user avatar
1 vote
2 answers
2k views

Wrong Canonical url link

I have a weird problem. I have a page that changed URL (because it's parent changed name). Example Link https:www.mysite.com/my-services/service-1 is now: https:www.mysite.com/services/service-1 ...
thegirlinthecafe's user avatar

1
2 3 4 5