Add a filter conditionally based on frontpage
Add a filter conditionally based on frontpage
Add a filter conditionally based on frontpage
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
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
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
bbPress caused a jQuery Conflict. I have delete it, also because I haven’t install it. Verified the options on phpMyAdmin database. Empty all caches with W3 Total Cache. Now works all again.
It is facebook social graph cache. I’ve cleared it on debug linter and everything fine now. https://developers.facebook.com/tools/debug/ You can clear cache automatically via Facebook Graph Api: POST /?id={object-instance-id or object-url}&scrape=true More info here: https://developers.facebook.com/docs/sharing/opengraph/using-objects
I think I solved. It seems that iThemes Security plugin was causing the problems. After disabling and enabling iThemes Security, the problems with Yoast SEO seems to be solved.
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
The Solution After WAY more research than I cared for and ultimately not getting a straight answer, I started to realize that the custom shortcode I was using to create HTML might be to blame. I was creating content by closing the <?php tag and reopening it after the html was finished. Turns out, I … Read more
250-300MB is really a lot and I’m not sure if that is a normal situation. I’d suggest you to check how was that site maintained and managed. Maybe the updates were not made correctly (for example plugins were not updated and only overwritten using FTP). And back to your question… The easiest way to clean … Read more