PDA

View Full Version : Redirecting traffic to a new website ?


J.D. Landscaping
21st December 2009, 16:01
How would I go about redirecting traffic to a new website I have had built ?

The original website covers quite a few different disciplines within our field of work, and we have had a new site built to target a specific market.

Can I use my original sites google postion to point traffic to said new site ?

Also should I leave the old sites pages live until we gain search engine recognition, or leave them there indefinatley ?:|


Regards Dave

That Guy
21st December 2009, 16:45
Had to do this for a customer in the past. I used a .htaccess file (Linux Server Needed)

Add this to it:

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]

Then you can remove old pages :)

J.D. Landscaping
21st December 2009, 17:14
So, is this the best option ?

ie, just dropping the old pages and using the Google ranking they have gained ?

And should I link from the old website to the new site to gain some "juice" as they say ?

a1isp
21st December 2009, 23:54
http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=83105

From the horse's mouth :)

liquidauctions
21st December 2009, 23:57
I did this on liquidauctions site as i bought the following

liquidauctions.co.uk

and

liquidauction.co.uk

All you do is if you have cpanel hosting, log in to cpanel, select redirects and enter the domain of your new site, its very user friendly.

J.D. Landscaping
22nd December 2009, 10:01
Hi, I have added the following code to the htaccess file and it's directing the whole site to my new domain address instead of the 1 page i wanted to redirect, is there some extra code needed to acheive this please ?


Regards Dave




Had to do this for a customer in the past. I used a .htaccess file (Linux Server Needed)

Add this to it:

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L] Then you can remove old pages :)

WeDesign
22nd December 2009, 10:24
You can make a new "Index.htm" file and upload it with the following code within your <HEAD> and </HEAD> code:

<meta HTTP-EQUIV="REFRESH" content="0; url=YOUR NEW WEBSITE URL">

edmondscommerce
22nd December 2009, 10:36
worry about SEO

meta refreshes, javascript redirects etc will redirect users but not search engine spiders

to properly redirect search engine spiders you need to do whats called a "301 redirect"

on linux servers this is very easy using a htaccess file as described above.

J.D. Landscaping
22nd December 2009, 10:52
So, if I'm undertanding you correctly, the code I added to the htaccess file is not a "301 redirect":| ?worry about SEO

meta refreshes, javascript redirects etc will redirect users but not search engine spiders

to properly redirect search engine spiders you need to do whats called a "301 redirect"

on linux servers this is very easy using a htaccess file as described above.

caththere
22nd December 2009, 11:07
How would I go about redirecting traffic to a new website I have had built ?

The original website covers quite a few different disciplines within our field of work, and we have had a new site built to target a specific market.

Can I use my original sites google postion to point traffic to said new site ?

Also should I leave the old sites pages live until we gain search engine recognition, or leave them there indefinatley ?:|


Regards Dave

If you want to move an entire site go into your cpanel, redirect section. Use the redirect 301 http://www.oldurl.com/ to http://www.newurl.com
This will catch any traffic on your old site and redirect it to your index page on your new server. If you want to redirect each page to its new spot, this isn't the one for you.

J.D. Landscaping
22nd December 2009, 11:19
If you want to move an entire site go into your cpanel, redirect section. Use the redirect 301 http://www.oldurl.com/ to http://www.newurl.com
This will catch any traffic on your old site and redirect it to your index page on your new server. If you want to redirect each page to its new spot, this isn't the one for you.

It's only 1 perhaps 2 pages thanks.


Dave

J.D. Landscaping
22nd December 2009, 12:00
redirect 301 /old/grounds_maintenance_services_cumbria.htm/new /http://www.groundsmaintenancecumbria.co.uk/.php


Can anybody tell me why this code is being ignored ? It's in the htaccess file as it should be, just wont work though.


Dave

edmondscommerce
22nd December 2009, 12:16
So, if I'm undertanding you correctly, the code I added to the htaccess file is not a "301 redirect":| ?

no it is a 301 redirect

RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
thats what the R=301 bit means

it was more for the benefit of anyone else reading who might see the meta refresh suggestion and decide that as its easy they will do that

3cellhosting
22nd December 2009, 14:03
redirect 301 /old/grounds_maintenance_services_cumbria.htm/new /http://www.groundsmaintenancecumbria.co.uk/.php


Can anybody tell me why this code is being ignored ? It's in the htaccess file as it should be, just wont work though.


Dave

Hi Dave,

The /new is on the end of the old URL which makes a non-existant URL

The new URL ends /.php which is not a full file name. It should be the full url of the new page. Easiest way is to browse to the new page and copy the url from your browser.

the result should look like...

redirect 301 /old/grounds_maintenance_services_cumbria.htm http://www.groundsmaintenancecumbria.co.uk/index.php

Note the two urls are seperated by a space.

Hope this helps.

J.D. Landscaping
22nd December 2009, 14:28
Hi Dave,

The /new is on the end of the old URL which makes a non-existant URL

The new URL ends /.php which is not a full file name. It should be the full url of the new page. Easiest way is to browse to the new page and copy the url from your browser.

the result should look like...

redirect 301 /old/grounds_maintenance_services_cumbria.htm http://www.groundsmaintenancecumbria.co.uk/index.php

Note the two urls are seperated by a space.

Hope this helps.


Hi, sorry to be so stupid, but that code still won't work ?

Don't know where i'm going wrong, but it just wont redirect....


Dave

J.D. Landscaping
22nd December 2009, 14:59
Right folks, I have deleted the htaccess file from the server, and used the cpanel tool to create the Redirect instead.

Will this be ok for the search engines etc or do I need to change anything else.


Thanks for all your help folks.

Coupon master
23rd December 2009, 04:15
There are many ways to redirect traffic , you could choose the best from it
Html meta tags refresh
apache redirect
Php http header redirect.