WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Navigation links not working from Category or Archive pages (3 posts)

  1. davidemery
    Member
    Posted 4 years ago #

    Hi,

    In my main navigation I have 'Portfolio' & 'Photography' links to plain html pages (not wordpress). These work fine on the index page, but when your viewing posts with a category, or an archive, these links don't work.

    Here's my site: http://www.david-emery.co.uk

    Any help greatly appreciated!

    Thanks,
    David

  2. Arnold Goodway
    Member
    Posted 4 years ago #

    On the single pages, the archive and category pages you are making the call for these pages from a different sub directory than what it is on the main blog page. The answer would be to hard code the entire link to these pages. On the photography link you have coded:

    david_emery_bear_graphics_photography.html

    Replace this with:

    http://www.david-emery.co.uk/david_emery_bear_graphics_photography.html

    You will have to do the same for the other link. These links will work from all pages after this change.

  3. davidemery
    Member
    Posted 4 years ago #

    That worked perfectly - many thanks!

    David

Topic Closed

This topic has been closed to new replies.

About this Topic