Linked Questions

Popular Questions

Wordpress Redirects to Parent Pages or Categories

Asked by At

What I am trying to do is to redirect 404 to the next possible page/category. The following is a detailed description of what I want:

If the user falls on the following:

  • www.domain.com/about/(any text that generates 404) it should automatically redirect to www.domain.com/about
  • www.domain.com/category/(any text that generates 404) it should automatically redirect to www.domain.com/category
  • www/domain.com/about/sub-about/(any text that generates 404) it should automatically redirect to www.domain.com/about/sub-about

I hope that describes what I am looking for. I would love if my fellows here post a solution to this. I have tried using the 404 redirected plugin but it is not auto redirecting. I am open to any solution as long as it works on wordpress.

Related Questions