Thread: Odd issue

Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2022
    Location
    UK
    Posts
    64
    Plugin Contributions
    0

    Default Odd issue

    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

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,406
    Plugin Contributions
    80

    Default Re: Odd issue

    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.

  3. #3
    Join Date
    Jan 2022
    Location
    UK
    Posts
    64
    Plugin Contributions
    0

    Default Re: Odd issue

    Thank you

    Sometimes you just go code blind!!!

    I have corrected that.

    Hopefully that will resolve the issue.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,488
    Plugin Contributions
    17

    Default Re: Odd 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...

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,697
    Plugin Contributions
    9

    Default Re: Odd issue

    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.

 

 

Similar Threads

  1. v139h Configuration issue - odd
    By buildingblocks in forum General Questions
    Replies: 8
    Last Post: 18 Feb 2015, 08:50 PM
  2. Odd cache issue
    By godt in forum General Questions
    Replies: 2
    Last Post: 13 Dec 2008, 07:06 AM
  3. Odd Define Page issue.
    By khopek in forum General Questions
    Replies: 10
    Last Post: 22 Oct 2008, 12:30 AM
  4. Very Odd Login Issue
    By rwoody in forum General Questions
    Replies: 8
    Last Post: 9 Jun 2008, 07:18 PM
  5. Odd issue with links
    By Danielle in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Apr 2007, 07:13 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR