Questions tagged [plugin-wp-seo-yoast]

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

Filter by
Sorted by
Tagged with
25
votes
1answer
28k 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 ...
17
votes
1answer
23k 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 ...
15
votes
4answers
36k 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 ...
9
votes
5answers
13k 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 ...
9
votes
1answer
18k 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 ...
8
votes
10answers
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 ...
8
votes
2answers
31k 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 ...
7
votes
2answers
11k 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 ...
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 ...
5
votes
3answers
15k 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 ...
5
votes
3answers
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 ...
5
votes
2answers
5k 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.
3
votes
2answers
22k 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 ...
3
votes
3answers
24k 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 ...
3
votes
4answers
19k 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 ...
3
votes
1answer
954 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 ...
3
votes
1answer
203 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 ...
3
votes
1answer
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://...
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 ...
3
votes
0answers
722 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 ...
2
votes
1answer
5k 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 ...
2
votes
2answers
942 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 $...
2
votes
1answer
4k 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 ...
2
votes
1answer
2k 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 ...
2
votes
3answers
3k 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....
2
votes
3answers
491 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 ...
2
votes
3answers
3k 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
2answers
678 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 ...
2
votes
3answers
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/...
2
votes
2answers
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 ...
2
votes
1answer
279 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 ...
2
votes
0answers
270 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. ...
2
votes
0answers
547 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 ...
2
votes
1answer
517 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
vote
2answers
6k 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 ...
1
vote
3answers
258 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 ...
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:...
1
vote
2answers
2k 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.
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 ...
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 ...
1
vote
1answer
4k 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 ...
1
vote
2answers
2k views

Add custom taxonomy to title tag [closed]

I'm using Yoast's WordPress SEO plugin for a variety of websites. In setting title tag templates with his %%category%% syntax, I've figured out that you can reference custom fields by using %%cf_<...
1
vote
1answer
913 views

When does the Yoast SEO filter hook wpseo_sitemap_urlimages fire?

I am trying to attach a simple function to the Yoast SEO filter hook wpseo_sitemap_urlimages and get the function to run, but I cannot do so. My code is: function tp_filter_wpseo_sitemap_urlimages($...
1
vote
1answer
401 views

Post content blank after disabling Yoast SEO

I'm trying to disable the Yoast SEO plugin from a very simple site with a custom theme. After disabling the plugin, posts do not have any content -- titles work, just the_content is empty. Pages are ...
1
vote
2answers
650 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 ...
1
vote
1answer
1k 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
2answers
552 views

Mystery URL http://#/ Listed in XML Sitemap Created by WordPress SEO by Yoast Plugin

I'm using the Wordpress SEO by Yoast plugin. I'm having problems getting the Sitemaps XML section to work properly. Google gives me the dreaded red X for the status of the sitemap. The error message ...
1
vote
1answer
259 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 ...
1
vote
1answer
899 views

force category base - archive pages work WITH & WITHOUT category base slug in url?

I need any posts of any category (and archive pages) to route through /blog/. I added "blog" to my category base, but now both website.com/blog/my-category/ AND website.com/my-category/ both display ...
1
vote
1answer
506 views

With the Yoast SEO plugin, is it possible to make the meta description a required form field?

I am referring to the meta description field as pictured below: Is it possible to configure the plugin so as to make that field required? If a user tries to publish a post with it empty, they would ...

1
2 3 4 5