Skip to main content
Known Participant
May 5, 2008 7:37 PM UTC
Answered

url redirect

Hi.this is the url:
urlPath = " http://www.imedmart.com";

and users have also access to the web site by: http://imedmart.com .
but I need to fix http://www.imedmart.com/ and http://imedmart.com either one version should redirect to the other version(which is http://www.imedmart.com.so I dont want to my Pagerank get split between two different versions of URLs.
what should I do?
thanks
This topic is closed to new replies. Start a new post to keep the conversation going.
Newsgroup_UserCorrect answer
Inspiring
May 6, 2008 5:57 PM UTC
masoud_amen wrote:
> Hi.this is the url:
> urlPath = " http://www.imedmart.com";
>
> and users have also access to the web site by: http://imedmart.com .
> but I need to fix http://www.imedmart.com/ and http://imedmart.com either one
> version should redirect to the other version.so I dont want to my Pagerank get
> split between two different versions of URLs.
> what should I do?
> thanks
>
>

You can also attack it at the source, the DNS server. Rather then
setting two separate DNS entries, set one up as an 'alias' of the other.
The search engines then know that both these DNS strings are really
the same thing and don't divide them. I believe this is called a 'C'
entry in the parlance of DNS servers.

The Fusion Authority (a publication of the House of Fusion) had an
article 'Making Google Pay' describing this a couple of issues ago.
https://secure.houseoffusion.com/Vol2Issue1.cfm


4 replies

Newsgroup_UserCorrect answer
Inspiring
May 6, 2008 5:57 PM UTC
masoud_amen wrote:
> Hi.this is the url:
> urlPath = " http://www.imedmart.com";
>
> and users have also access to the web site by: http://imedmart.com .
> but I need to fix http://www.imedmart.com/ and http://imedmart.com either one
> version should redirect to the other version.so I dont want to my Pagerank get
> split between two different versions of URLs.
> what should I do?
> thanks
>
>

You can also attack it at the source, the DNS server. Rather then
setting two separate DNS entries, set one up as an 'alias' of the other.
The search engines then know that both these DNS strings are really
the same thing and don't divide them. I believe this is called a 'C'
entry in the parlance of DNS servers.

The Fusion Authority (a publication of the House of Fusion) had an
article 'Making Google Pay' describing this a couple of issues ago.
https://secure.houseoffusion.com/Vol2Issue1.cfm


Translate
Inspiring
May 6, 2008 2:51 AM UTC
there's a thread on HoF's CF-Talk list just about that:
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56284

hth

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Translate
Known Participant
May 6, 2008 5:14 PM UTC
thanks
Translate
Inspiring
May 6, 2008 1:55 AM UTC
you can easily do it in Application.cfc, in its onRequestStart method.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Translate