13, May 2008

redirecting and Google - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server  >  Apache web server
Topic: redirecting and Google
« previous next »
Pages: [1] Print

Author Topic: redirecting and Google  (Read 1509 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 credits
Members referred : 374


It's time to use PHP5!


« on: May 03, 2006, 10:05:21 PM »

Hello,

I have 10 domain names in one shared hosting account. I need to point them to another host. (please don't ask why).

that will say that the DNS is cofigured for the multidomain host and need to use a rule inside .htaccess to redirect all traffic to this host.

I thought about this rule:

Code:
RewriteEngine on
RewriteRule (.*) http://www.theotherhost.com/ [R,L]

Is this way OK for google?


Last blog : Database Management with phpMyAdmin
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7824
39879 credits
Members referred : 3



« Reply #1 on: May 03, 2006, 10:11:10 PM »

Is that rule producing a "Moved Permanantly" header?

If it is not then it would be better to use php to do the redirection :

Code:
<?php
 header 
'HTTP/1.1 301 Moved Permanently' );
 
header 'Location: http://www.theotherhost.com/' );

Trial and Error my two best teachers Cool
Promote your blog for free.... Visit through proxy

Last blog : Keep it Legal - Tims guide to legal notices
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: May 03, 2006, 10:19:14 PM »

Is that rule producing a "Moved Permanantly" header?

If it is not then it would be better to use php to do the redirection :

Code:
<?php
 header 
'HTTP/1.1 301 Moved Permanently' );
 
header 'Location: http://www.theotherhost.com/' );

and "moved permantly" is this:
Code:
RewriteEngine on
RewriteRule (.*) http://www.theotherhost.com/ [R=301,L]
The header will not work because the are also images in the document, so I need to redirect everything.
Or is this wrong what I say?


Last blog : Database Management with phpMyAdmin
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7824
39879 credits
Members referred : 3



« Reply #3 on: May 03, 2006, 10:23:54 PM »

Propably is wrong.

I mean that images can't be redirected. Redirection is for web pages mostly.

With the 'moved permantly' rule you'll be fine.

BTW as your concern is Google, be sure that those domains have keywords that are relative to the site you redirect them.

Trial and Error my two best teachers Cool
Promote your blog for free.... Visit through proxy

Last blog : Keep it Legal - Tims guide to legal notices
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: May 03, 2006, 10:27:34 PM »

Propably is wrong.

I mean that images can't be redirected. Redirection is for web pages mostly.

With the 'moved permantly' rule you'll be fine.

BTW as your concern is Google, be sure that those domains have keywords that are relative to the site you redirect them.

That was my questionmark, after the redirection the images ar called from the new location of cause, thanks

is this about the keyword related domain name?
www.hotel-rome.com? Visit through proxy (a site about hotels in rome)

why are you asking this?


Last blog : Database Management with phpMyAdmin
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7824
39879 credits
Members referred : 3



« Reply #5 on: May 03, 2006, 10:48:32 PM »

Because if for example you redirect a php related domain or site to a vacation related site, then your SERPs will be a mess.....

Trial and Error my two best teachers Cool
Promote your blog for free.... Visit through proxy

Last blog : Keep it Legal - Tims guide to legal notices
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 credits
Members referred : 374


It's time to use PHP5!


« Reply #6 on: May 03, 2006, 11:09:32 PM »

... but what if I have 10 diff websites (and domain names) at one shared host. (diff. content based on the domain name) ?


Last blog : Database Management with phpMyAdmin
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7824
39879 credits
Members referred : 3



« Reply #7 on: May 03, 2006, 11:46:47 PM »

That will be bad.

You will have different keywords for the same site and that will low your SERP placements.

Trial and Error my two best teachers Cool
Promote your blog for free.... Visit through proxy

Last blog : Keep it Legal - Tims guide to legal notices
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 credits
Members referred : 374


It's time to use PHP5!


« Reply #8 on: May 04, 2006, 12:02:32 AM »

That will be bad.

You will have different keywords for the same site and that will low your SERP placements.
...can't follow you... check these sites, all of them are on the shared hosting
http://www.huizen-veendam.nl/ Visit through proxy
http://www.installatiebedrijfinarnhem.nl/ Visit through proxy
http://www.accountant-groningen.nl/ Visit through proxy

the content is loaded from a database based on the domain name.

what's bad with this?


Last blog : Database Management with phpMyAdmin
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7824
39879 credits
Members referred : 3



« Reply #9 on: May 04, 2006, 12:04:51 AM »

No problem with that.

I was talking about redirection. It is bad to redirect a domain to an inrelevant site.

Trial and Error my two best teachers Cool
Promote your blog for free.... Visit through proxy

Last blog : Keep it Legal - Tims guide to legal notices
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 credits
Members referred : 374


It's time to use PHP5!


« Reply #10 on: May 04, 2006, 12:09:32 AM »

No problem with that.

I was talking about redirection. It is bad to redirect a domain to an inrelevant site.


At the target site there is unique data for the redirected domein, its not a redirect to an existing site. This redirect is only because it's much easier to maintain inside my control panel


Last blog : Database Management with phpMyAdmin
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2409
Tags : php google domains databases dns Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server  >  Apache web server
Topic: redirecting and Google
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 13, 2008, 06:38:45 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 34.931
Total Topics: 7.262
Total Members: 3.482
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: ondho

16 Guests, 3 Users online :

11 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.