WordPress.org

Ready to get started?Download WordPress

Forums

managing bad addresses (2 posts)

  1. Crimguy
    Member
    Posted 9 years ago #

    I currently have a sub-directory of a commercial site that uses mambo.

    The main site (under construction)is:
    http://www.mslawaz.com

    The wp site is http://www.mslawaz.com/matt

    If a user types in a bad address that appears to be a child of the /matt site, it shows a corrupted version of the mambo site. For example, type http://www.mslawaz.com, then type http://www.mslawaz.com/matt/test

    You'll see the main site but with the formatting screwed up. Is there any way to have wp give a 404 error or something to that effect? Is this a mambo issue or apache as an alternative?

    I figure this won't be a problem when I get around to registering a new domain, but . . .

  2. skippy
    Member
    Posted 9 years ago #

    WordPress can handle 404s, but it needs to be allowed to do so. If the bad URL displays the top-level site, chances are strong that the server is configured to use the top-level site rather than display an actual 404 error message.

    Creating_an_Error_404_Page may help you, though.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags