WordPress.org

Support

Support » Multisite » theme 404.php and category.php redirect to homepage

theme 404.php and category.php redirect to homepage

  • I was working on a theme. I created category.php for category view and 404.php for error page. It worked on my local server.

    But in the main server it is not working. The main server use wordpress multisite and I had to enable the theme through network admin. I have also created custom single page and those works, but the category page isn’t working. It always redirect to frontpage. I also have a front-page.php in my theme. I don’t understand why this is happening as it is violating template hierarchy.

    So, it might be something related to multisite. I don’t know much about multistie. Thanks in advance for your help.

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘theme 404.php and category.php redirect to homepage’ is closed to new replies.