The MU forums have moved to WordPress.org

Displaying home instead of 404 (2 posts)

  1. hdlee
    Member
    Posted 18 years ago #

    I've installed wpmu successfully using diretory structure for new blog. All features seems to be working so far but I noticed one thing that can cause problem.

    For example if I enter the URL: http://www.example.com/blog1/2005/10/20/non-existent/ it returns 404 but
    http://www.example.com/blog1/non-existent1/ returns the homepage instead of 404. If there is a page with the name non-existent1 it displays correctly though.

    How can I change it so that it returns 404 instead of the homepage? I examined the header and it indeed returns 200.

  2. hdlee
    Member
    Posted 18 years ago #

    Again, I've found the answer. I've been searching for a solution for hours but not long after I've posted at the forum, I always found the answer. :)

    Current .htaccess misses a rewriterule for pagename. Adding that fix above problem.

    Thanks.

About this Topic