Redirect 301 Problems

wordpress

#1

I have a wordpress blog on www.kuwaitblogs.com/users/nibaq/ and moved it now to www.2by4.org/

And wish to do a redirect of the blog.

So to do a redirect I added these lines to .htaccess
ErrordDocument 404 http://www.2by4.org/index.php ( So my MOdRewrites are moved as well)
Redirect 301 / http://www.2by4.org/index.php

Yet that doesn’t work at all. Keeps giving me a 500 error.

When I comment out the ErrorDocument 404 and try to access the old site I get this:

http://www.2by4.org/index.phpusers/nibaq/

It appends users/nibaq/ to the end.

Is there a way I can avoid this problem and allow my ModRewrites be able to move to the new domain?


#2

I think Redirect may be what you want:

http://httpd.apache.org/docs/1.3/mod/mod_alias.html#redirect

  • Dallas
  • DreamHost Head Honcho/Founder