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
Azadi - 06 May 2008 02:54 GMT
you can easily do it in Application.cfc, in its onRequestStart method.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Azadi - 06 May 2008 03:49 GMT
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/
masoud_amen - 06 May 2008 18:14 GMT
Ian Skinner - 06 May 2008 18:57 GMT
> Hi.this is the url:
> urlPath = "http://www.imedmart.com";
[quoted text clipped - 5 lines]
> 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