This question is answered.


Permlink Replies: 24 - Pages: 2 [ 1 2 | Next ] - Last Post: 25 Oct 24, 18:36 Last Post By: John-Simpson Threads: [ Previous | Next ]
John-Simpson

Posts: 174
Registered: 15-Jan-2008
W3C Link Checker throws up same 2 errors on every page!
Posted: 23 Aug 24, 22:24
 
  Click to reply to this thread Reply
I just wanted to see if any redirects on my albums are broken now that I'm fully on TIGER skin, however, each page comes up with the same 2 non-issues making it hard to find any real issues! (if there are any broken links)

Please confirm my thoughts on this.

Attached - See the screen capture of a typical page.

  • Favicon.ico missing from the res folder.
I know it is not missing so I assume the res folder blocks external read access?

  • The link to a Facebook Group is "Forbidden by robots.txt"
The link works so I assume that it is blocked by Facebook?

I guess there is not much I can do about the above and the only way to check for broken links is to trawl through every page on my websites?

Edited by: John-Simpson on 23 Aug 2024, 21:25
JeffTucker

Posts: 8,225
Registered: 31-Jan-2006
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 23 Aug 24, 22:41   in response to: John-Simpson in response to: John-Simpson
 
  Click to reply to this thread Reply
John-Simpson wrote:
  • Favicon.ico missing from the res folder.
I know it is not missing so I assume the res folder blocks external read access?

No blocking going on. My browser says it's missing, as well. The file just isn't there. It redirects to:

https://john-simpson.jalbum.net/res/favicon.ico

And that's a 404.

* The link to a Facebook Group is "Forbidden by robots.txt"
The link works so I assume that it is blocked by Facebook?

The link isn't being blocked. What's being blocked is the script that checks the link. FB does things like that, to cut down on bot traffic.
RobM

Posts: 3,847
Registered: 4-Aug-2006
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 23 Aug 24, 22:47   in response to: John-Simpson in response to: John-Simpson
 
  Click to reply to this thread Reply
On Safari the favicon is shown by
<link rel="icon" type="image/png" sizes="32x32" href="res/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="res/favicon-16x16.png">

The favicon.ico is missing
John-Simpson

Posts: 174
Registered: 15-Jan-2008
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 24 Aug 24, 12:35   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
I've looked at all stages - see screenshot.

The favicon.ico is in the res folder at these locations:

  • INPUT folder,
  • OUTPUT older
  • WEBSITE ONLINE

Yet, I can't find the path to it:

https://www.mgbreunited.org.uk/res/favicon.ico

Returns an error redirect to jAlbum Albums!

I'm perplexed!

This works:

https://www.mgbreunited.org.uk/res/favicon-32x32.png

shows a favicon!

Edited by: John-Simpson on 24 Aug 2024, 16:02
JeffTucker

Posts: 8,225
Registered: 31-Jan-2006
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 24 Aug 24, 13:38   in response to: John-Simpson in response to: John-Simpson
Helpful
  Click to reply to this thread Reply
Just did a quick, simple test, and if an album is hosted on jalbum.net, and it includes its own favicon.ico file, the hosting wipes it out. No problem with the other "species" of favicon - the PNG's, the big Apple/Android ones, and so on.

That's something that Anders will need to address.

It's confounded by the redirect of your mgbreunited domain to your jAlbum account. That's not really behaving itself, either. If I try to go to the home page of that domain, I get redirected to my own profile page on jAlbum. Probably not what you had in mind.

Again, something for Anders.
John-Simpson

Posts: 174
Registered: 15-Jan-2008
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 24 Aug 24, 17:31   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
Just did a quick, simple test, and if an album is hosted on jalbum.net, and it includes its own favicon.ico file, the hosting wipes it out. No problem with the other "species" of favicon - the PNG's, the big Apple/Android ones, and so on.

That's something that Anders will need to address.

It's confounded by the redirect of your mgbreunited domain to your jAlbum account. That's not really behaving itself, either. If I try to go to the home page of that domain, I get redirected to my own profile page on jAlbum. Probably not what you had in mind.

Again, something for Anders.


Oh, the Anders solution sounds as though it will take some time sorting out!

Presumably, this is not a skin related problem or else Laca Molnar could sort it?

Just a thought, could Laca remove the Link to favicon.ico since it doesn't appear to be needed and is catered for by all the other Favicon variants?

BTW There are a whole load of other stuff that gets generated and put into res folder that I don't understand including 4 mstile variants of sizes different to the ones I provided and are the styled as the TIGER default favicon. Are these needed?
JeffTucker

Posts: 8,225
Registered: 31-Jan-2006
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 24 Aug 24, 17:44   in response to: John-Simpson in response to: John-Simpson
Helpful
  Click to reply to this thread Reply
John-Simpson wrote:
BTW There are a whole load of other stuff that gets generated and put into res folder that I don't understand including 4 mstile variants of sizes different to the ones I provided and are the styled as the TIGER default favicon. Are these needed?

No. To cover the waterfront, you need only 5 files - 4 favicon variants, and one manifest file.

  • A favicon.png, 32x32 px
  • An apple-touch-icon.png, 180x180 px
  • An Android icon-192.png, 192x192 px
  • An Android icon-512.png, 512x512 px
  • A manifest.webmanifest file that contains:

{
  "icons": [
    { "src": "icon-192.png", "type": "image/png", "sizes": "192x192" },
    { "src": "icon-512.png", "type": "image/png", "sizes": "512x512" }
  ]
}
The rest are anachronisms, aimed at obsolete browsers (like IE11) or obsolete OS's (like Win8).
Laza

Posts: 1,842
Registered: 6-Sep-2005
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 25 Aug 24, 18:11   in response to: John-Simpson in response to: John-Simpson
 
  Click to reply to this thread Reply
When the album is generated, the skin does not know the album will be uploaded to jalbum.net. In my opinion, this should be fixed on the server. I don't think this is a big issue though.
JeffTucker

Posts: 8,225
Registered: 31-Jan-2006
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 25 Aug 24, 18:33   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Laza wrote:
When the album is generated, the skin does not know the album will be uploaded to jalbum.net. In my opinion, this should be fixed on the server. I don't think this is a big issue though.

No, the jAlbum hosting is actively blocking the favicon. We need to hear from Anders about this.

Here's a little test album. The skin doesn't have to know where the album is going to be uploaded. The favicon, a capital T, is sitting in the project's res folder, so the link is relative.

(demo album removed)

Here's exactly the same album, hosted on my own host:

(demo album removed)

On the jalbum.net site, the favicon is clearly present, but if you try to access it, the server coughs up a 404. See this screenshot from jalbum.net hosting:

(demo album removed)

But now try:

(demo album removed)

It will happily cough up other files from that folder, but not favicon.ico.
Laza

Posts: 1,842
Registered: 6-Sep-2005
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 26 Aug 24, 16:15   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker

Posts: 8,225
Registered: 31-Jan-2006
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 26 Aug 24, 16:25   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
What you're seeing on those pages is one of the included PNG icons.

The only one that fails on jalbum.net hosting, consistently, is the one named favicon.ico.

Look at the page code on one of those albums, and try to access res/favicon.ico directly.
Laza

Posts: 1,842
Registered: 6-Sep-2005
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 26 Aug 24, 17:09   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Ah, yes, that's mysterious.
JeffTucker

Posts: 8,225
Registered: 31-Jan-2006
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 26 Aug 24, 17:14   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
I'll wager that Anders can explain it instantly. It's probably an attempt to avoid having Dor replaced. But it's targeting that file name at all levels, not just at the root of the user's jAlbum subdomain.

So, OK to block https://jefftucker.jalbum.net/favicon.ico, but it shouldn't be blocking https://jefftucker.jalbum.net/mydog/res/favicon.ico.
AnCa

Posts: 444
Registered: 25-Mar-2005
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 26 Aug 24, 21:10   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
I'll wager that Anders can explain it instantly. It's probably an attempt to avoid having Dor replaced. But it's targeting that file name at all levels, not just at the root of the user's jAlbum subdomain.
Yepp, that's exactly what's happening. A requestURI.endsWith("/favicon.ico") instead of requestURI.equals("/favicon.ico").
It will be fixed in 10 minutes.

So, OK to block https://jefftucker.jalbum.net/favicon.ico, but it shouldn't be blocking https://jefftucker.jalbum.net/mydog/res/favicon.ico.
Yes.
AnCa

Posts: 444
Registered: 25-Mar-2005
Re: W3C Link Checker throws up same 2 errors on every page!
Posted: 26 Aug 24, 21:14   in response to: JeffTucker in response to: JeffTucker
Correct
  Click to reply to this thread Reply
JeffTucker wrote:
I'll wager that Anders can explain it instantly.
Fixed now!
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums