• Resolved jarvo1980

    (@jarvo1980)


    Hi,

    Hope someone can help! I used this as my permalinks:

    /%category%/%postname%/

    If I click home, about etc it’s fine as these are my pages.

    I then have a category ‘news’ which has posts.

    I’ve hardcoded my top nav and news is /news. Home is <?php bloginfo('url'); ?> and about is /about.

    When I click into news from the pages it’s fine. If I then click news from a page i get a 404. If I go straight to news and an article then try to go to about for example, i get a 404.

    How can I get around this?
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try something like this. Replace your /news and /about with the following below and come back and tell us if that is better.

    <a href="<?php echo bloginfo('wpurl'); ?>/news">News</a>
    <a href="<?php echo bloginfo('wpurl'); ?>/about">About</a>

    Change accordingly. I given the HTML itself you can use.

    Thread Starter jarvo1980

    (@jarvo1980)

    Blimey, it was that easy!?

    Thanks Snat!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘permalinks issue on nav’ is closed to new replies.