469,365 Members | 1,789 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,365 developers. It's quick & easy.

Redirect to one URL?

Hello Everyone,

Some people talk about redirecting a site URL to a single instance of an
address. That is, there is a difference to search engines between:

www.usernomics.com
http://www.usernomics.com
usernomics.com which automatically converts to http://usernomics.com

The one that gets the most inbound links to my site is
http://www.usernomics.com . So I am interested in having the other partial
addresses point to this URL.

My thought is to put the following in my .htaccess file (but I have little
idea about what I am doing):

RewriteEngine On
RewriteCond %{HTTP_HOST} ^usernomics\.com [nc]
RewriteRule (.*) http://www.usernomics.com/$1 [R=301,L]

I need to get this right because it could cause drastic changes to my
rankings. My hope is to improve ranking by pointing all inbound links to the
same address.

Does this seem correct?

Thanks a lot,

Bob
Apr 13 '06 #1
2 1543

"Hymer" <ergobob@sonic[REMOVE].net> wrote in message
news:44**********************@news.sonic.net...
Hello Everyone,

Some people talk about redirecting a site URL to a single instance of an
address. That is, there is a difference to search engines between:

www.usernomics.com
http://www.usernomics.com
usernomics.com which automatically converts to http://usernomics.com

The one that gets the most inbound links to my site is
http://www.usernomics.com . So I am interested in having the other partial
addresses point to this URL.

My thought is to put the following in my .htaccess file (but I have little
idea about what I am doing):

RewriteEngine On
RewriteCond %{HTTP_HOST} ^usernomics\.com [nc]
RewriteRule (.*) http://www.usernomics.com/$1 [R=301,L]

I need to get this right because it could cause drastic changes to my
rankings. My hope is to improve ranking by pointing all inbound links to
the
same address.

Does this seem correct?

I checked with someone who has a lot of technical expertise. He said that
this format would work best for having anything other than
http://www.usernomics.com be redirected to that URL:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.usernomics.com$ [NC]
RewriteRule ^(.*)$ http://www.usernomics.com/$1 [R,L]

Does this seem correct?

Thanks,

Bob

Apr 13 '06 #2
Hymer ha escrito lo siguiente el 13/04/2006 14:07:
Hello Everyone,

Some people talk about redirecting a site URL to a single instance of an
address. That is, there is a difference to search engines between:

www.usernomics.com
http://www.usernomics.com
usernomics.com which automatically converts to http://usernomics.com

The one that gets the most inbound links to my site is
http://www.usernomics.com . So I am interested in having the other partial
addresses point to this URL.

My thought is to put the following in my .htaccess file (but I have little
idea about what I am doing):

RewriteEngine On
RewriteCond %{HTTP_HOST} ^usernomics\.com [nc]
RewriteRule (.*) http://www.usernomics.com/$1 [R=301,L]

I need to get this right because it could cause drastic changes to my
rankings. My hope is to improve ranking by pointing all inbound links to the
same address.

Does this seem correct?

Thanks a lot,

Bob


Well, I was reading this
http://www.seomoz.org/articles/301-redirects.php

--
Luciano A. Ferrer
la**************@SacaDMEgmail.com
http://relojurbano.com.ar .algún día volverás.

.... una vez la vi soñar, su cama flotaba encima del mar
Apr 15 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Bob Garbados | last post: by
3 posts views Thread by Paul | last post: by
7 posts views Thread by Donna Hawkins | last post: by
1 post views Thread by Peter Kirk | last post: by
2 posts views Thread by Mark Dengler | last post: by
3 posts views Thread by Justin | last post: by
6 posts views Thread by Sam | last post: by
6 posts views Thread by Peter Row | last post: by
10 posts views Thread by Eirik Eldorsen | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.