Hi
I have added links to other parts of my website bur after going from the home page the first three (should be 2) links no longer work.
Can anyone advise me of the problem please?
https://booksense.net
Thanks
Hi
I have added links to other parts of my website bur after going from the home page the first three (should be 2) links no longer work.
Can anyone advise me of the problem please?
https://booksense.net
Thanks
Besides the fact that your Donations link is busted (it's showing booksense/net/donations.php instead of booksense.net/donations.php) that link is also present in the header navigation without being wrapped with an <li>...</li> pair.
Thank you
Sometimes you just go code blind!!!
I have corrected that.
Hopefully that will resolve the issue.
The links should really have minimal hard coding. For the discussed link, it should simply be like <a href="donations.php">donation text</a>
This way, no matter where your store resides, as long as the file remains relative to the root of your catalog, then it will be found. This includes if the domain name for some reason gets changed or you decide you want to reuse the template elsewhere...
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Absolute vs Relative links are what get most folks in trouble in Zen Cart.
Setting a link to another item or part of your site should always be relative.
Setting a link to another site should be absolute.
Lot of good information at https://www.w3schools.com/html/html_links.asp
In addition, accessibility requires some additional info for Absolute links.
https://webaim.org/techniques/hypertext/ and https://www.reliablesoft.net/noreferrer-noopener/
Getting them to operate correctly is a great SEO boost.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Bookmarks