Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2021-06-15 03:12:41

detail
Member
From: geez, I seem to be in NZ
Registered: 2010-07-13
Posts: 176
Website

article schema

I’ve been using whynopadlock.com to check my https status of various websites I’m moving to a new server.

Whynopadlock works well to check that all outside websites I link to on my page are themselves secure. That all seems straightforward. If it’s not https you can change it and it works.

I’m getting an error message, saying that one of the websites I’m linking to is not secure. Actually, it says The Mixed content tests failed.

When I look at the coding for the page, the only place I can see there is still a non-secure site link is here:

<article role="article" itemscope="" itemtype="http://schema.org/Article">

I get that with this:

<txp:article id="39" status="sticky" />

On other of my websites I don’t seem to use article but instead use txp:title and txp:body which means I don’t get this issue. No schema reference.

Any thoughts on this?

My site currently works well enough, but I am getting an error message at whynopadlock, that Google might pick up.

Cheers

Last edited by detail (2021-06-15 03:24:21)

Offline

#2 2021-06-15 04:58:33

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,058
Website

Re: article schema

detail wrote #330474:

Are you using a theme base on the older default theme that ships with Textpattern? You can change that URL in the relevant form in your theme – probably the Forms > Article > default form:

<article role="article" itemscope="" itemtype="http://schema.org/Article">

becomes

<article role="article" itemscope="" itemtype="https://schema.org/Article">

Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#3 2021-06-15 05:56:27

detail
Member
From: geez, I seem to be in NZ
Registered: 2010-07-13
Posts: 176
Website

Re: article schema

D’oh!!

I knew I saw that somewhere.

Thanks for that.

Offline

#4 2021-06-15 07:47:22

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: article schema

Side note, you can use HTTPS for schema.org references now.

Offline

#5 2021-06-15 09:36:47

detail
Member
From: geez, I seem to be in NZ
Registered: 2010-07-13
Posts: 176
Website

Re: article schema

Phil.

Interesting that the http worked okay with PHP 5.4 + TXP 4.8.5, (earlier in the week), but when bumped up to 7.1 + 4.8.7 this became an issue.

Fortunately changing the default form reference for schema.org to https has resolved the issue.

This particular website is 8 years old and it is amazing that it is working faster than ever.

TXP is a remarkable framework and it seems to deal with everything the rest of the internet throws at it. So thanks team for keeping it cranking.

Offline

Board footer

Powered by FluxBB