redirect from old domain not working…
-
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 / https://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:
https://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
- The topic ‘redirect from old domain not working…’ is closed to new replies.