Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #427891

    Hi, it seems that my previous topic was closed but I just have a minor problem to solve…

    This follows my previous topic:
    https://kriesi.at/support/topic/only-display-a-category-name-blog-in-blog-page/

    On the following page http://localhost/xxx/blog/, my blog posts (posts category = blog) are displayed (thanks to Elliott) and it is OK but I don’t want that posts from the blog category be displayed for the generic URL http://localhost/xxx/category/blog/.

    Where do I have to include the condition to not create this page (http://localhost/xxx/category/blog/) ? (and it will be perfect) :)

    Thank you and best regards,

    Johann

    #428248

    Hi johann_doe!

    I’m not entirely sure I understand what you mean, but you can change the category and tag base under Settings–>Permalinks.

    Regards,
    Rikard

    #428764

    Hi Rikard,

    In my site, I have a static blog page which contains blog posts (category=blog) and I also have another static page with different posts (category= cat, dog, snake etc…). Normal.

    But when I create a blog post and put it in the blog category the following page is created http://mysite/category/blog (category page containing blog posts) with the same template as http://mysite/category/snake (for example)… actually I don’t want that kind of page be displayed for the blog… If it is possible, it’s cool otherwise, I will do a 301 redirect to my blog page…

    Regards,

    Johann

    #429230

    Hey!

    I don’t think there is a way to stop WordPress from creating a specific category archive. Like you suggested a redirect would probably be the best option for what your trying to do.

    Best regards,
    Elliott

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.