WordPress.org

Support

Support » Miscellaneous » avoid redirect on empty categories

avoid redirect on empty categories

  • Hi, i’m a new wp user. I want to customize it and I have the following problem: Some of created categories have not posts yet. Currently wp redirect the request for that categories to the homepage. I would avoid this redirect, and, instead, show a message such as “Stay tuned! This category is empty yet!”

    Can somebody help me?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Maybe make an empty post in the category with a title saying:
    “Stay tuned! This category is empty yet!”
    Then when ypu have an actual post, edit it to your desire.

    yes, it works, but my need is to obtain this result without using empty post. Is it possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘avoid redirect on empty categories’ is closed to new replies.