.htaccess redirect

This is a discussion on .htaccess redirect within the Apache Web Server forums, part of the Web Server and Related Forums category; Is there away to do this: If someone comes with yourdomain.com and have a redirect in your ..htaccess to ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-02-2006
branmh@gmail.com
 
Posts: n/a
Default .htaccess redirect

Is there away to do this:

If someone comes with yourdomain.com and have a redirect in your
..htaccess to redirect to www.yourdomain.com?


Thanks.

  #2 (permalink)  
Old 02-02-2006
Steve
 
Posts: n/a
Default Re: .htaccess redirect

On Thu, 02 Feb 2006 08:05:35 -0800, branmh@gmail.com wrote:

> Is there away to do this:
>
> If someone comes with yourdomain.com and have a redirect in your
> .htaccess to redirect to www.yourdomain.com?
>
>
> Thanks.

Why not use a ServerAlias so they use the same DocumentRoot?

  #3 (permalink)  
Old 02-02-2006
Robert Ionescu
 
Posts: n/a
Default Re: .htaccess redirect

Steve wrote:
> On Thu, 02 Feb 2006 08:05:35 -0800, branmh@gmail.com wrote:
>
>> Is there away to do this:
>>
>> If someone comes with yourdomain.com and have a redirect in your
>> .htaccess to redirect to www.yourdomain.com?


see http://www.threadwatch.org/node/2817

> Why not use a ServerAlias so they use the same DocumentRoot?


this is duplicate content for search engines.

--
Robert
  #4 (permalink)  
Old 02-04-2006
Steve
 
Posts: n/a
Default Re: .htaccess redirect

On Thu, 02 Feb 2006 19:46:48 +0100, Robert Ionescu wrote:

> Steve wrote:
>> On Thu, 02 Feb 2006 08:05:35 -0800, branmh@gmail.com wrote:
>>
>>> Is there away to do this:
>>>
>>> If someone comes with yourdomain.com and have a redirect in your
>>> .htaccess to redirect to www.yourdomain.com?

>
> see http://www.threadwatch.org/node/2817
>
>> Why not use a ServerAlias so they use the same DocumentRoot?

>
> this is duplicate content for search engines.


And...?

  #5 (permalink)  
Old 02-05-2006
Robert Ionescu
 
Posts: n/a
Default Re: .htaccess redirect

Steve wrote:
> On Thu, 02 Feb 2006 19:46:48 +0100, Robert Ionescu wrote:
>
>> Steve wrote:
>>> On Thu, 02 Feb 2006 08:05:35 -0800, branmh@gmail.com wrote:
>>>
>>>> Is there away to do this:
>>>>
>>>> If someone comes with yourdomain.com and have a redirect in your
>>>> .htaccess to redirect to www.yourdomain.com?

>> see http://www.threadwatch.org/node/2817
>>
>>> Why not use a ServerAlias so they use the same DocumentRoot?

>> this is duplicate content for search engines.

>
> And...?


Google has a duplicate content filter and may penalize dc-sites (one
site may be filtered out). If there is no dc penalty (this is a
controversy discussion in SEO forums if there is a penalty or not), the
ranking and incoming links (backlinks) are spitted on two domains.
But we are on the wrong newsgroup to discuss search engine related issues.

--
Robert
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0