Support » Themes and Templates » Blog links without ‘category/’ – need help

  • I know this is not recommended, but I need to make this happen. I needed to create a link in the header called ‘Blog’ so I changed the permalinks to the following:


    I have the category named ‘blog’ and the link in my menu is:

    <?php bloginfo(‘wpurl’); ?>/blog

    This works fine with the permalink structure, but…

    When I click on any Recent Posts in the sidebar, it doesn’t work. The link adds the category name to the beginning, so it appears like:


    I’m hoping that the category can somehow be removed from the links maybe? Or is there a better way to remove /category/ from the URL so I don’t need to hack anything?


Viewing 2 replies - 1 through 2 (of 2 total)
  • BTW, using version 2.8.4…


    I think I found a temporary hack that solves the issue for now:

    I changed the posts main category slug to ‘main’ instead of blog, so the links don’t break anymore, and it doesn’t look so bad showing /main/ in the url.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Blog links without ‘category/’ – need help’ is closed to new replies.