Issues with WordPress Redirect

aimeeandbeatles

watermelon
Joined
Apr 5, 2007
Messages
20,112
All right, so I upgraded my webhosting plan. My site used to be:
http://thepettyarchives.squareserve.com/
But the new URL is:
http://thepettyarchives.squareserve.org/

But all the links on the new site go back to the .com!

Basically what I want to do is:
a) Change it all over to .org
b) Have the old .com links go to the same page on the .org.

Im suretheres some way to do this within htaccess but Im not sure. Any help?


EDIT: OK, so I tinkered around with it and broke it. But I managed to fix it by going in the database and fixing it there and Ive never worked with databases before -- rather interesting Id say.
 
Got it!

Simply edited the htaccess on old site to this:
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://thepettyarchives.squareserve.org/$1 [R=301,L]

I also managed to break my site while doing it but I fixed it.
 
Back
Top Bottom