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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
|
|||
|
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? |
|
|||
|
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 |
|
|||
|
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...? |
|
|||
|
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 |