Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / May 2008



Tip: Looking for answers? Try searching our database.

url redirect

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
masoud_amen - 05 May 2008 20:37 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.