Posts:
174
Registered:
15-Jan-2008
|
|
|
W3C Link Checker throws up same 2 errors on every page!
Posted:
23 Aug 24, 22:24
|
|
|
|
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
|
|
|
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
|
|
|
- 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.
|
|
|
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
|
|
|
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
|
|
|
Posts:
174
Registered:
15-Jan-2008
|
|
|
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
|
|
Helpful |
|
|
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.
|
|
|
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
|
|
|
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?
|
|
|
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
|
|
Helpful |
|
|
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).
|
|
|
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
|
|
|
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.
|
|
|
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
|
|
|
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.
|
|
|
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
|
|
|
|
|
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
|
|
|
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.
|
|
|
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
|
|
|
Ah, yes, that's mysterious.
|
|
|
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
|
|
|
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.
|
|
|
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
|
|
|
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.
|
|
|
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
|
|
Correct |
|
|
I'll wager that Anders can explain it instantly.
Fixed now!
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|