WordPress.org

Ready to get started?Download WordPress

Forums

redirect from old domain not working... (1 post)

  1. matthewsalibi
    Member
    Posted 7 years ago #

    I tried to set up a redirect with godaddy for my old domain name (midnighthowl.com) to point to my new domain name (matthewsalibi.com). I assume that this is equivalent to an .htaccess line:

    301 / http://www.matthewsalibi.com

    I see traffic coming from googlebot, so I know the redirect is successful, but to my horror, some of the URLs that don't exist at all are resolving at the new domain running wordpress.

    In other words, some of the redirected URLs are generating 404's on the wordpress blog (as they all should), but some of them are pulling the front page... for example:

    http://www.matthewsalibi.com//index.php?/weblog/archives/C22/

    should be returning a 404, because it does not exist on the new site. But it's just displaying the front page, and sending a 200 OK header!! How can I get wordpress to be a stickler about this, and send 404's for any page that it hasn't generated itself??

    Thanks,

    Matthew

Topic Closed

This topic has been closed to new replies.

About this Topic