|
From: happysailingdude on 2 Apr 2008 09:47 hi there if you check these 2 sites out: http://www.southendlocaljobs.co.uk/ and http://www.chelmsfordlocaljobs.co.uk/ it looks to me like that is the same application that those 2 different domains points to, but pressumably the application is also passed a 'townid' so it knows what text variances to display. this isnt my application but we have a need to do something similar. we are running CF8 on windows sever (2003 i think). is this something one handles in IIS? or via somesort of rule in application.cfm does anyone know what is considered best practice with this? what about duplicate content from google's perspective etc. thanks very much indeed for any help you can offer.
From: GArlington on 2 Apr 2008 10:27 On Apr 2, 2:47 pm, "happysailingdude" <webforumsu...(a)macromedia.com> wrote: > hi there > > if you check these 2 sites out: > > http://www.southendlocaljobs.co.uk/ > > and > > http://www.chelmsfordlocaljobs.co.uk/ > You may have noticed that they both have "part of the localjobsgroup" next to the name... > it looks to me like that is the same application that those 2 different > domains points to, but pressumably the application is also passed a 'townid' so > it knows what text variances to display. You can point as many domains as you like to the same source... You might want to <cfdump var="#cgi#" /> for each to see the differences You can also use url rewriting functionality to add extra params to the url on your web server... > > this isnt my application but we have a need to do something similar. > > we are running CF8 on windows sever (2003 i think). > > is this something one handles in IIS? or via somesort of rule in > application.cfm As I said above, you can do it in either. > > does anyone know what is considered best practice with this? Web server url rewriting is easily configurable... > > what about duplicate content from google's perspective etc. ??? Google should consider these as two separate sites... > > thanks very much indeed for any help you can offer.
From: happysailingdude on 3 Apr 2008 09:28 Does anyone have any comments to make on my above question? All help would be very gratefully received. Thank you.
From: Ian Skinner on 3 Apr 2008 09:44 happysailingdude wrote: > > thanks very much indeed for any help you can offer. > There are many possibilities. But one of the easiest identifier is the URL. One can inspect the url used to access a web application with the CGI scope. With this piece of information it is rather trivial to configure a site to offer up specific content based on this site 'id'.
From: "JR "Bob" Dobbs" on 3 Apr 2008 09:53 To vary the content by the domain name look at each request's cgi variables, such as cgi.server_name or cgi.http_host, and generate your content accordingly. To setup multiple domains to point to the same website you need have multiple domain names associated with your site's public IP address. http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Expressions_8. html#2679705
|
Next
|
Last
Pages: 1 2 3 Prev: db query-based Verity collection with Categories? Next: Nesting Objects |