WordPress.org

Ready to get started?Download WordPress

Forums

Footer links not working (20 posts)

  1. LeviKLL
    Member
    Posted 7 months ago #

    I have a link to my terms and conditions in my footer which takes you to a pdf. This opens fine on some pages then on others it just opens a 'this is embarrasing' page. Does anyone know how why this is happening and how it can be modified?

  2. Krishna
    Volunteer Moderator
    Posted 7 months ago #

    Post a link to the page where you have the problem.

  3. LeviKLL
    Member
    Posted 7 months ago #

    http://www.keighleylabs.co.uk/lab-services-html/ndt-processes/

    If you follow that link then click on the terms and conditions in the footer you will get an idea of the issue. The link on the parent pages seems to be working fine.

  4. Krishna
    Volunteer Moderator
    Posted 7 months ago #

    This is what you have there - not linked to any URL.
    <p>Website: Terms & Conditions | Privacy Policy</p>
    Provide the links so that the links would work.

  5. LeviKLL
    Member
    Posted 7 months ago #

    Sorry I should of made it more clear. I mean the link above it, so where it says Trading: terms and conditions. It's a new site so I haven't got round to adding the links to the other part yet.

  6. Krishna
    Volunteer Moderator
    Posted 7 months ago #

    Trading:
    <a target="_blank" title="Keighley Laboratories, terms of trade" href="../wp-content/uploads/2013/10/KLL-Terms-and-Conditions-for-Supply-of-Services.pdf">
    <font color="#1b8be0">Terms & Conditions</font>
    </a>

    Try using the complete link instead of
    ../wp-content/uploads/2013/10/KLL-Terms-and-Conditions-for-Supply-of-Services.pdf

  7. LeviKLL
    Member
    Posted 7 months ago #

    I tried that Krishna and doesn't seem to make any difference as it looks like we are already using the complete link, thank you for your help though.

  8. LeviKLL
    Member
    Posted 7 months ago #

    Does anyone else have a way of fixing this or is there a way of contacting wordpress directly?

  9. esmi
    Forum Moderator
    Posted 7 months ago #

    WordPress is free software and this free, volunteer-staffed forum is the only support resource available via wordpress.org. If you cannot manage this yourself, you may want to consider hiring someone

  10. LeviKLL
    Member
    Posted 7 months ago #

    Oh ok thank you. I would much rather try fix the issue via the forum as it seems abit of a waste hiring someone to change one thing that is probably quite simple!

  11. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    That does not appear to be a valid link - if you put just the link in a browser window, it's not found. Also, PDF behavior is largely determined by browsers - so that may be a problem as well.

  12. LeviKLL
    Member
    Posted 7 months ago #

    http://www.keighleylabs.co.uk

    That is the link to my website. The pdf works fine on the parent pages just not on the sub pages so i don't think it is a browser issue. Plus I have tried this in 3 different browsers.

  13. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    The links are not the same:

    http://www.keighleylabs.co.uk/wp-content/uploads/2013/10/KLL-Terms-and-Conditions-for-Supply-of-Services.pdf
    
    http://www.keighleylabs.co.uk/lab-services-html/wp-content/uploads/2013/10/KLL-Terms-and-Conditions-for-Supply-of-Services.pdf
  14. esmi
    Forum Moderator
    Posted 7 months ago #

  15. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    On the second (non-working one) you don't have an absolute file path (as Krisha suggested above) - the source shows this:

    <a target="_blank" title="Keighley Laboratories, terms of trade" href="../wp-content/uploads/2013/10/KLL-Terms-and-Conditions-for-Supply-of-Services.pdf">
  16. LeviKLL
    Member
    Posted 7 months ago #

    So how would I go about resolving this? (sorry if you are actually already telling me that in your answers, I'm not actually a web designer I work in marketing and have sort of been left to look after the site with no wordpress experiance)

  17. esmi
    Forum Moderator
    Posted 7 months ago #

    You would need to look at how this link is being added in (presumably) your theme's footer.php template file.

  18. LeviKLL
    Member
    Posted 7 months ago #

    <p>Trading: <a href="../wp-content/uploads/2013/10/KLL-Terms-and-Conditions-for-Supply-of-Services.pdf" title="Keighley Laboratories, terms of trade"><font color="#1b8be0">Terms & Conditions</font></a></p>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    This is the HTML from my footer which I assume is where the pdf is added in?

  19. esmi
    Forum Moderator
    Posted 7 months ago #

    Try:

    <p>Trading: <a href="http://www.keighleylabs.co.uk/wp-content/uploads/2013/10/KLL-Terms-and-Conditions-for-Supply-of-Services.pdf><font color="#1b8be0">Terms & Conditions</font></a></p>

  20. LeviKLL
    Member
    Posted 7 months ago #

    That seems to make even the parent pages not work. Hmmm It seems abit of a mystery why it only works on that page as all the rest are fine. Thnak you for the suggestion.

Reply

You must log in to post.

About this Topic

Tags