Skip to main content
Known Participant
May 5, 2008
Answered

url redirect

  • May 5, 2008
  • 3 replies
  • 650 views
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 has been closed for replies.
Correct answer Newsgroup_User
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


3 replies

Newsgroup_UserCorrect answer
Inspiring
May 6, 2008
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


Inspiring
May 6, 2008
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/
Known Participant
May 6, 2008
thanks
Inspiring
May 6, 2008
you can easily do it in Application.cfc, in its onRequestStart method.

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