Redirecting traffic to a new website ?

  • Thread starter Thread starter J.D. Landscaping
  • Start date Start date
J

J.D. Landscaping

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
 
Had to do this for a customer in the past. I used a .htaccess file (Linux Server Needed)

Add this to it:

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

Then you can remove old pages :)
 
  • Like
Reactions: J.D. Landscaping
Upvote 0
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 ?
 
Upvote 0
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.
 
  • Like
Reactions: J.D. Landscaping
Upvote 0
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:

Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
Then you can remove old pages :)
 
Upvote 0
You can make a new "Index.htm" file and upload it with the following code within your <HEAD> and </HEAD> code:

HTML:
<meta HTTP-EQUIV="REFRESH" content="0; url=YOUR NEW WEBSITE URL">
 
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0
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
 
Upvote 0
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
 
Upvote 0
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.
 
Last edited:
  • Like
Reactions: J.D. Landscaping
Upvote 0
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
 
Upvote 0
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.
 
Upvote 0

Latest Articles