• Resolved Lawcom

    (@lawcom)


    I’ve looked around and can’t find a solution for this, it may have something to do with the plugins I have installed but anyway…

    I added a main navigation to categories directly on to the templates, with – blog – articles – etc …. so from index or main pages by clicking I get..

    https://localhost/wordpress/blog or https://localhost/wordpress/articles
    I have it set up using ‘List category posts’ plugin to return a summary of post made in that topic or category… works fine..

    But if I click in the [more] button it gives me the whole article or post.. works fine .. https://localhost/wordpress/blog/post-name but once on that page if I try to go directly back to blog or articles or any category it returns a link like this

    https://localhost/wordpress/blog/blog or
    https://localhost/wordpress/blog/articles in other words it does not remove the previous category..

    I also have ‘Category Base Killer’ plugin, does what it says on the tin, permalinks set to /%category%/%postname%

    As I’m building, I am using WAMP services, localhost, so I’m figuring I could sort it online by linking the main menu links relative to the root site, but I would prefer to keep it document relative..

    I think that’s everything ??

    not quite, oddly, at present I still have wp_list_categories running in the side-bar, (which I’m planning to remove) but if I use them they do not cause this problem and go directly to the category clicked.. ??

    Can’t work out why it can work from the side-bar but not on the main-menu area… confused ….

    Anyone able to point me in the right direction or step me through what needs to be done or have a need for a whole bunch of hair, only slightly ripped…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Lawcom

    (@lawcom)

    I just created a page called ‘blog’ and when I go to
    https://localhost/wordpress/articles/postname then click Blog on the main menu it goes to the new blog page no problem ?

    If I remove it the setup goes back to giving me
    https://localhost/wordpress/blog/blog in the categories…

    Thread Starter Lawcom

    (@lawcom)

    I don’t know why this resolved it ? but rather than embed the main links directly in to the pages I used <?php include (‘navigation-main.php’); ?>

    and changed the links to /wordpress/blog etc ..

    Not sure what effect this will have when I put it live and change or remove *wordpress* as the server ? but it is working fine on WAMP at the mo…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Linking back to categories problem !!’ is closed to new replies.