I have some old pages that for a website that are showing up in google search results. Until google reindexes the site, I want to redirect those urls to the new homepage.

Yet, when I go through GoDaddys redirect setup, I get a warning that the site and url must be on this account.




This url/page is no longer on the server. So it should redirect to


But as I said, GoDaddy throws an error. Any ideas? Any help is appreciated.

1 Answer 1


I don't know about GoDaddy's error, other than maybe it is expecting example.com rather than www.example.com (although I doubt it)?! You don't actually need to specify the host if redirecting on the same site?

But anyway, this is easy to do in your root .htaccess file using mod_alias:

Redirect 301 /oldpage.html /new-page.html

(This assumes Apache 2.2.6+ for the ability to specify a root-relative, rather than absolute URL, as the target.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.