Redirect Question: Move live site and upload new one

I have a live site, Domain1.com, which will be transferred to Domain2.com, which is unused. Both are on bluehost.

It sounds like I would do a 301 redirect to automatically redirect Domain1.com visitors to Domain2.com, while updating their booksmarks.

Here’s the dilemna. We are planning to upload a new site (being build offline) to Domain1.com very soon. For that reason I probably shouldn’t do a redirect.

I’m just not sure how to handle this and would appreciate input from you who know.

Thanks in advance.

I’m sorry, I know this isn’t an answer, but if you can say, why would you want to move website A to a new domain and then plant a new website at the old domain immediately? Why not just get a new domain for the new website and permanently redirect the old one to its new home?

Maybe understanding the situation a little more would help others to give you more accurate advice.

1 Like

If the old site is fairly small, it might be possible to redirect those pages which don’t have duplicate names in the new site. It’s hardly an ideal solution, but it might be better than nothing.

But as @jeffreylees says, it does seem an odd way to do things, and understanding the thinking behind it might help.

[quote=“jeffreylees, post:2, topic:232557”]
Why not just get a new domain for the new website and permanently redirect the old one to its new home?
[/quote] I wish I could explain it. Would it suffice to say the company is pretty much web illiterate and all who work there would agree that lack of communication is a huge problem? Also a lot of employees come and go.

TechnoBear, I agree totally that it’s “hardly an ideal solution” and “odd way to do things.”
See my answer to jeffreylees above.

So yes we will be moving domain1 to domain2 and soon upload a new site to domain1. TechnoBear, you mentioned redirecting only those page without duplicate names. Good News! The current site is a 5 page built with Weebly :rolling_eyes: That’s it!

One more question: as an example, how would domain1.com/aboutus be the same as domain2.com/aboutus?

I assume to redirect those 5 page I would have to use the htaccess file? Please advise with instructions or a helpful link. Also would I then not do either of the site redirects?

Thanks to you both

I don’t really understand that question.

If your existing site has a page domain1.com/aboutus.html and you move that so it becomes domain2.com/aboutus.html, then you can do a redirect from the old page to the new. However, if the site you are about to create at domain1.com will also have an aboutus.html page, you can’t use the redirect, as it will then be impossible to reach the new domain1.com page; all traffic will be redirected to the domain2.com page. So as far as possible, you should try to use different names for the new domain1.com pages - e.g. about.html, rather than aboutus.html. Because of this problem, I can’t see any way to redirect the home page (unless maybe one site uses .html pages and the other .php).

That’s very straightforward. As I said, I see no way to redirect the index page, but the others should be OK as long as the new domain1.com site doesn’t have pages of the same name. e.g.

Redirect 301 /aboutus.html http://www.domain2.com/aboutus.html
Redirect 301 /contactus.html http://www.domain2.com/contact.html
Redirect 301 /products.html http://www.domain2.com/services.html

The first path to the old file must be a local UNIX path. The second path to the new file can be a local UNIX path, but can also be a full URL to link to a page on a different server.

http://blog.dreamhosters.com/kbase/index.cgi?area=3083

(That’s a rather old tutorial, but still valid, I think, and explains things very clearly.)

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.