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

Remove: add_filter( ‘get_the_excerpt’, ‘replace_post_excerpt_filter’ ); function replace_post_excerpt_filter($output) { return $output; } from your code, and you should find it works. The trouble with nested functions, as you have here, is that once the parent function is called the first time, it defines the inner function, but when the parent function is called the second time … Read more

how to add urls dynamically into the sitemap

Looks like one of those is the canonical URL, can you take a look at the page source and check if is there a canonical tag? <link rel=”canonical”… Also there is a setting in yoast for the sitemap https://kb.yoast.com/kb/how-to-customize-the-sitemap-index/ and you can add your own sitemap too: https://kb.yoast.com/kb/add-external-sitemap-to-index/ Note: Duplicate content will harm your SEO … Read more

Possible to change meta data single quotes to dobule quotes in yoast wordpress seo? [closed]

Seriously, I don’t know why this thing keeps popping up but: it just works with single quotes, no need to change anything. Need proof? Ok, here we go: Search for “WordPress SEO plugin”. Find my site, yoast.com, it’ll be #1 in most cases. See the meta description showing? Click on the “Cached” link, then open … Read more

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

Canonical links are typically used when you have multiple URLs on the same domain pointed at the same content to prevent search engines from indexing duplicate content. In this case, redirecting the domain is probably the best option. You can do that either through the control panel for your domains or with a .htaccess file. … Read more