Hello, I did a very simple website (slider) that has a hash navigation with urls based on filenames of pictures (that are themselves ordered into ‘projects’). I only use the index.php page but needed to create folders so my client could put their pictures in every folder. The problem is that on mobile devices there is often a 404 Not Found, but the website is working on other devices. I know it’s probably not the most elegant way to do a slider and I’m a new user to Kirby. Thank you for your help! (I don’t know if the error comes from the fact of the hash navigation or the rewriting of the urls in the htaccess)
Hm, for me, the site doesn’t load on my iPhone at all, or only briefly before I get a notice that an error occurred (no 404 page).
You seem to be loading two versions of jquery, one very old and one more modern and a migrate script. I also get a console error on Desktop. So maybe those problems are related.
I meant that I ask Kirby to find certain images/files in folders/pages (but I don’t use those subpages… just the index.php) (and in any “index/project/” there’s 3 pictures to pick, that are shown in the index)
<?php foreach($site->grandChildren()->listed() as $project): ?>
I’m sorry to bring this back, but I really need help on that point… My site is using hashnavigation on the swiper and maybe it comes from that. Do you think hashnavigation can mess it, only on mobile devices? I know this is probably an issue not due to Kirby, sorry for that
Hm, I have no idea what’s the issue, but one problem seems to be that lazy loading of images is not working as expected, because according to network tab, 59 images are loaded at once, so you get a pretty long initial load time and a large payload.
Also, according to Lighthouse report, you get a high LCP on mobile of 4.3 s.
Maybe try to remove some stuff from the website, i.e. use less images and from which number of images the issue turns up.