Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How do I maintain my google(+others) links when I move/reorganise my website.

Posted on 2004-04-22
2
170 Views
Last Modified: 2010-04-27
I have a website which receives lots of hits via the various search engines. I am just about to move the site to a new Domain name.  What is the best way to handle the fact that indexes will be pointing to my old name, whereas my new site will not be indexed.

nb I still have control of my old name, but I want to phase it out. I do not want to maintain a mirror.
0
Comment
Question by:MortimerCat
2 Comments
 
LVL 1

Expert Comment

by:dejaone
ID: 10895795
It should be pretty easy to get your new site indexed by search engines if you link  
every pages of your old site to a couple of pages on your new site (use server side includes, for instance).

Howw soon search engines will index your new site depends on how frequently search engines crawl your current site.
For instance, Google crawls my site everyday. If I add a new page to my site, it will appear in the search engine
in a day or two.
0
 
LVL 24

Accepted Solution

by:
duz earned 150 total points
ID: 10896274
MortimerCat -

You should leave the old site up and running for 5-6 weeks. During this time you should put this in your root .htaccess file, to make sure that all visits to your old domain will be pointed to your new domain:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?old-domain\.com
RewriteRule (.*) http://www.new-domain.com/$1 [R=301,L]

The above assumes(*) that all path and file-names are identical i.e. that only the domain name has changed.

Use the 5-6 weeks to get all your backlinks pointing to the new domain.

- duz



0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Learn about the eCommerce marketing trends for the year ahead.
In this blog, I will share you some basic tips for content marketing and to rank your website on Google.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question