If you were previously stripping Yoast HTML comments on your website then there is a good chance that updating to v11.0 will show the new schema data at the top of your website.
The problem is that a widely used snippet for stripping out the comments searched for the string ‘yoast’ and then removed the surrounding comment tags. The new schema data added in V11.0 uses the word ‘yoast’ as a class on the script tag, so the script tags get stripped and the schema data shows at the top of the website.
Continue reading “Remove Yoast HTML Comments in Version 11.0”
Are you continually telling people to optimise their image filenames before uploading them to a website?
Do staff members keep assuring you that they will optimise their filenames in the future whilst having no intention of doing so?
Have they said “I’ll go back and do it later” rather than taking 2 seconds to do the job properly in the first place?
Then it’s time to start blocking their uploads so you don’t have to check up on them like a child 🙂 Continue reading “Block WordPress Image Uploads by Filename Match”
If you have a website using WooCommerce and have registered it with the new version of Google Search Console, it’s likely that you will get an email notification about ‘index coverage’ issues for the /my-account/ page (Or your custom url for the same page).
Continue reading “Removing WooCommerce noindex Tags on Account Login Page”
In this article, we are going to add a new field to the article editor screen and use the content of the field to output a canonical link in the head of the page on the article view.
At some point, Joomla’s automatically added canonical links were removed as they didn’t work correctly, so this is a manual workaround to put them back. Continue reading “Using Joomla Custom Fields to Add Canonical URLs”
For reasons detailed in an earlier post about why Joomla canonical urls are not implemented correctly it may be that you want to remove them. That’s pretty easy by hacking the core, but safer to unset the tag in your template so the changes don’t get wiped out on an upgrade.
Continue reading “How to Remove Joomla’s Canonical Tag Without Hacking the Core”
Ideally I like to keep all urls in lowercase, but there are a few things that can lead to your site being indexed with a mixture of upper and lower case characters, which in turn can lead to problems with search engines.
How can this happen? Well, for me it was playing around with Joomla’s sh404sef component and not checking the settings properly. By default it is set to use the case of category and article titles which resulted in some ugly /Joomla/Page-Title type urls. Whilst the component was installed it wasn’t a problem. After removing it (for many reasons) the problems started. When requesting the above url Joomla will serve the page /joomla/page-title and the url in the browser will remain as /Joomla/Page-Title.
If applications do this by default then it only takes a rival company to point several mixed-case links to your site to potentially cause a lot of problems.
Continue reading “Permanently Redirect all URL’s to Lowercase”
Joomla 3 introduced a new feature of canonical url links. There is no way to turn it off in settings, which wouldn’t be a problem if it worked correctly, but unfortunately it doesn’t. It has been plagued by problems since it was introduced and has led to some sites taking a massive hit on visitor numbers after upgrading to J3.
Continue reading “The Problem With Joomla’s Canonical URL Links”
For a while now in Google webmaster tools there has been an option under the ‘optimization’ tab called ‘Data Highlighter’. This is their new attempt at an alternative to structured data (or another way to add it without changing the structure of your pages).
It is essentially a wizard interface to get Google to understand your pages better than they do right now.
Continue reading “Using Google’s Data Highlighter Tool”
I wrote about this a while ago in my Joomla microdata article. It has struck me since that it was complete overkill to add authorship in that way and can be done without any code changes at all, just using the standard contacts component.
The reasoning is, that you don’t have to link each article on the site to the authors Google+ page. If there is an author page on the site, and each page is linked to the author page then you only need to add the link to the Google+ profile on that author page.
Continue reading “The Easiest way to add Google Authorship to Joomla Articles”
Adobe recently released their ‘blank font’. It is essentially a font which contains no glyphs and is basically a css hack to stop the flash of unformatted text when using webfonts.
I wrote a long time ago about how to cache the font files when using @fontface. That method can be used in conjunction with this to create the best user experiance for your site.
Continue reading “A New Solution to FOUT (Flash of unformatted text)”