Old Domain to a New Domain Redirect?

Status
Not open for further replies.

DoggY DoG

Active Member
3,248
2010
1,139
10
Hello Guys,

My apology if i posted this in a wrong section.:facepalm:

I need a help from you guys as i have searched here already regarding my query but couldn't find a better result and on cb member were telling me to create a thread so here i am placing my query to get a resolution.. :)

I want to know how to redirect an existing domain to a new domain?

I have an existing domain with indexed pages,post on google and i am on hostgator and now i purchased a new domain from name.com and want to redirect my existing domain to a new domain including posts,pages everything.

Pleases Help me with a little guide on how to get this done.:(

Here is a complete example of what my point is.

Open up this site volldo. com and when you open up you will see on a url bar that it is redirecting to a incezt .net with full content, pages, posts everything.

The content which you are seeing on incezt. net was on volldo .com before but he redirected everything from volldo to an incezt without loosing any rank.

I want to do the same.

Help me :)
 
14 comments
@JamesVaporH:- Thanks for the reply mate,

I have already tried the 301 htaccess code which i found here:-- Link

It is not completely redirecting everything, what this code is doing is, only redirecting a domain and not pages post.
 
Well with that code you have to make sure both domains use either www or dont use www..

If one domain uses www and the other doesnt then it redirects correctly, but then the site without www redirects to main domain without www.
 
This is the code i use and it works

You change the
Code:
CONTENT="2;URL=http://www.yourdomain.com">
part to how many seconds you want . mine is set at 2 seconds .

PHP:
<HTML>
<HEAD>
<!-- Send users to the new location. -->
<TITLE>redirect</TITLE>
<META HTTP-EQUIV="refresh" 
CONTENT="2;URL=http://www.yourdomain.com">
</HEAD>
<BODY>
This page has moved. You will be 
automatically redirected 
to its new location in 2 seconds. 
If you aren't forwarded 
to the new page, 
<a href="http://www.yourdomain.com">
click here</a>. 
</BODY>
</HTML>

You can see it work here
Code:
katzddl.me

Hope this is what your looking for .
 
Yeah i have tried this in your way but it is only redirecting a domain not an indexed pages post which i have on my old domain.

Suppose this is my new domain newdomain.com which i just purchased it and this is my old domain olddomain.com and it has all the pages,posts which is indexed on google already.

Without loosing any rank, I want to redirect olddomain.com to newdomain.com including everything from posts,pages etc.

what i want when someone google my site and then he clicks on any of my link named as olddomain.com/anyrandompost.php then he should be redirect to a newdomain.com/anyrandompost.php

Is it possible? If yes then please guide me how to do this?
 
Last edited:
Hi CloudShadow,

No olddomain.com is running on wordpress and a newdomain.com which i just purchased is completely blank.

So do i have to get a hosting for my newdomain.com to do a complete redirection or it can be done from my olddomain.com which is already hosted on hostgator?

Please Help me out i am loosing here. :(

I just need a simple redirection from my olddomain.com+posts to my newdomain.com+posts
 
@JamesVaporH:- Ok and then suppose if i have the same content like olddomain.com/baby.php and on newdomain.com/baby.php then how to redirect from olddomain.com to a newdomain.com with a same post.

and for this i am sure that i have to play with my sql db and on my olddomain.com sql how to rename all the olddomain.com to a newdomain.com links after restoring a db?
 
Status
Not open for further replies.
Back
Top