Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

If we want to move site from say xyz.com to xyz.org. What all things we need to do to make sure seo works fine.

I am doing something like:

  1. Point both xyz.com and xyz.org to same IP where my site is working

  2. Use cannonical URL to have xyz.org/* instead of xyz.com/*

  3. Add site to webmaster and make a change request.

But problem is we are not able to 301 redirect from xyz.com to xyz.org as both are on same IP and doing so is causing redirect loop and error.

How to fix this?

share|improve this question
What's your website platform? are you able to access files in your server/hosting? how did you implemented your 301 redirect? –  Binarysurf Oct 17 '13 at 19:29
Being on the same IP should not affect your redirect. Show us what you tried so we can fix it for you. –  John Conde Oct 17 '13 at 19:32

2 Answers 2

You should redirect all requests to xyz.com to xyz.org. This works best with Apache webserver:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^xyz.com
RewriteRule (.*) http://xyz.org/$1 [R=301,L]

I haven't tested it now, but it should work. Maybe you should do a rewrite from www.xyz.org to xyz.org with status code 301, and the same for www.xyz.com, but I'm not sure.

share|improve this answer

You can use .htaccess file for redirecting requests that come to xyz.com to xyz.org. Ensure that this rewrite rule gets fired only when the request comes to xyz.com; that way after the first redirect you will not get stuck in an infinite loop.

To figure out your redirect rule use this web tool - http://htaccess.madewithlove.be/.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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