473,725 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\.co m [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 1603

"Hymer" <ergobob@soni c[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\.co m [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.usernomic s.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\.co m [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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
9371
by: Bob Garbados | last post by:
forgive my ignorance, as I'm new to php coming from a ms background... If I create a page named redirect.php and it's only content is: <?php header("Location: http://www.google.com"); ?> Should it not redirect to www.google.com? I can't get the header() function to redirect. I'm trying to take an online reservation... the customer fills out
3
3905
by: Paul | last post by:
I'm not getting the results I want when I use Response.Redirct in a ASP page. I enter this line of code in a asp page from domain1.com. Response.Redirect "http://www.domain2.com/VDIR2/table.asp" & "?PubID=" & PubID & "&PubName=" & PubName The query string is data to open a DB. the page displays
7
15923
by: Donna Hawkins | last post by:
I want to use javascript to redirect to a URL which has been passed as a variable (in php). I have searched but cannot find any solution. I think this code is a basic redirect: <script type="text/javascript"> window.location = "http://www.someserver.com/somePage.html"; </script>
1
15319
by: Peter Kirk | last post by:
Hi there I have a program written by another company (it's a "web control" which returns a web-page: can I compare this to a servlet in the Java world?), which they think is causing problems on their server. But no-one really knows if this program is at fault because the problem only exhibits itself every once and a while, and the only thing they can see is that their web-users suddenly stop receiving responses.
2
3168
by: Mark Dengler | last post by:
Is it possible to do a Response.Redirect to multiple URLs? I have tried the following and it simply ignores the first redirect: Response.Redirect("test.aspx", false); Response.Redirect(p.UrlSend, true); I have designed the test.aspx page to simple write a cookie, just to see if it is working and it is not. I have also used to VS.Net
3
9076
by: Justin | last post by:
Hi, Im confused here over the usage of Response.Redirect and Server.Transfer. I used frameset for my work, what are the proper usages of the two methods that seems working similar.. The problem i faced while using Response.Redirect is that the page that is directed to, does not looks as desired..the textboxes are not visible anymore and so as
6
4320
by: Sam | last post by:
I have some issues with HTTP Headers and I was hoping for some pointers or references to good articles. Here is the problem. I have 6 .aspx pages, each page contains a common .ascx. This ascx serves two purposes, 1. it contains a tab strip with response.redirects to navigate to the other pages; 2. I authenticate the user by check to see if a cookie exists, if it doesn't I redirect to a login screen.
6
6935
by: Peter Row | last post by:
Hi, I am writing a DLL in VB.NET that implements IHttpHandler.ProcessRequest. This code calls a sub and I need to know if that sub did a response redirect or not. Specifically I need to know that either the sub did a redirect or a specific value was specified in the URL. If neither a redirect was done and a certain value was
5
4570
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks a session variable, and if it is not present, does a Response.Redirect to a webpage for the CAS passing a url parameter for the url to post back to. The CAS provides a page for the user to log into, validates the username and password, and then...
10
9019
by: Eirik Eldorsen | last post by:
How can I 301 redirect www.example.com/default.aspx to www.example.com without using ISAPI filters?
0
8750
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8090
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6701
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6010
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4509
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4780
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3217
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2154
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.