PC Review


Reply
Thread Tools Rate Thread

2 Default web Pages

 
 
Samuel
Guest
Posts: n/a
 
      8th Oct 2007
Hi

I have one website that is supposed to run with 2 URLs.
Those that enter using URL A should see one html file (for search engine
optimisation) and the others entering using URL B should see be redirected
to other aspx file,
Since the default file is an HTML fie how can I redirect those entering via
the other URL to the ASPX page?

Thank you,
Samuel




 
Reply With Quote
 
 
 
 
David Wier
Guest
Posts: n/a
 
      8th Oct 2007
the only way I know of checking the urls and redirecting, is with a dynamic
platform, like asp, asp.net or php....
if it IS possible with HTML, I certainly haven't heard of a way to do it.

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup


"Samuel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi
>
> I have one website that is supposed to run with 2 URLs.
> Those that enter using URL A should see one html file (for search engine
> optimisation) and the others entering using URL B should see be redirected
> to other aspx file,
> Since the default file is an HTML fie how can I redirect those entering
> via the other URL to the ASPX page?
>
> Thank you,
> Samuel
>
>
>
>



 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      8th Oct 2007
On Oct 8, 4:58 pm, "Samuel" <samuel.shul...@ntlworld.com> wrote:
> Hi
>
> I have one website that is supposed to run with 2 URLs.
> Those that enter using URL A should see one html file (for search engine
> optimisation) and the others entering using URL B should see be redirected
> to other aspx file,
> Since the default file is an HTML fie how can I redirect those entering via
> the other URL to the ASPX page?
>
> Thank you,
> Samuel


Make the aspx page your site's default page and check the browser type
in server-side code (use Request.UserAgent property, or
Request.ServerVariables to retrieve the HTTP_USER_AGENT header value)

 
Reply With Quote
 
Samuel
Guest
Posts: n/a
 
      8th Oct 2007
Will that affect the search engine optimization?

"Alexey Smirnov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Oct 8, 4:58 pm, "Samuel" <samuel.shul...@ntlworld.com> wrote:
>> Hi
>>
>> I have one website that is supposed to run with 2 URLs.
>> Those that enter using URL A should see one html file (for search engine
>> optimisation) and the others entering using URL B should see be
>> redirected
>> to other aspx file,
>> Since the default file is an HTML fie how can I redirect those entering
>> via
>> the other URL to the ASPX page?
>>
>> Thank you,
>> Samuel

>
> Make the aspx page your site's default page and check the browser type
> in server-side code (use Request.UserAgent property, or
> Request.ServerVariables to retrieve the HTTP_USER_AGENT header value)
>



 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      8th Oct 2007
On Oct 8, 8:39 pm, "Samuel" <samuel.shul...@ntlworld.com> wrote:
> Will that affect the search engine optimization?
>


Yup, and it's called cloaking
http://en.wikipedia.org/wiki/Cloaking

 
Reply With Quote
 
Samuel
Guest
Posts: n/a
 
      8th Oct 2007
Actually the purpose is to divide between the commercial and the retail
customers

The question regarding the search engine is that the whole reason why I have
an HTML page is for the optimisation an having an ASP page may defeat the
purpose

I also wonder whether the search engine finds the website by the IP address
or the domain name




"Alexey Smirnov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Oct 8, 8:39 pm, "Samuel" <samuel.shul...@ntlworld.com> wrote:
>> Will that affect the search engine optimization?
>>

>
> Yup, and it's called cloaking
> http://en.wikipedia.org/wiki/Cloaking
>



 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      8th Oct 2007
On Oct 8, 9:01 pm, "Samuel" <samuel.shul...@ntlworld.com> wrote:
> Actually the purpose is to divide between the commercial and the retail
> customers
>
> The question regarding the search engine is that the whole reason why I have
> an HTML page is for the optimisation an having an ASP page may defeat the
> purpose
>
> I also wonder whether the search engine finds the website by the IP address
> or the domain name
>


There is no difference between asp and html in terms of optimization.
Why not to do it in a simple way having two different links, for
example, corp.com/commercial and corp.com/retail ?

 
Reply With Quote
 
Samuel
Guest
Posts: n/a
 
      8th Oct 2007
It is beneficial to have default webpage because not everyone will bother
typing the name of the file such as Index.html passed the URL but then the
commercial customers who don't bother to type the file name will see the
home page of the retail and this is what I am trying to avoid.

The question is whether I can have the aspx file as the default page and in
the load event redirect users if necessary and then a separate html page
(that will not be the default page) for the search engines, but will that
affect the search engines because it is no longer the default web page.



>>"Alexey Smirnov" <(E-Mail Removed)> wrote in message
>>news:(E-Mail Removed)...

> On Oct 8, 9:01 pm, "Samuel" <samuel.shul...@ntlworld.com> wrote:
>> Actually the purpose is to divide between the commercial and the retail
>> customers
>>
>> The question regarding the search engine is that the whole reason why I
>> have
>> an HTML page is for the optimisation an having an ASP page may defeat the
>> purpose
>>
>> I also wonder whether the search engine finds the website by the IP
>> address
>> or the domain name
>>

>
> There is no difference between asp and html in terms of optimization.
> Why not to do it in a simple way having two different links, for
> example, corp.com/commercial and corp.com/retail ?
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Default # of printed pages crumpy Microsoft Word Document Management 1 3rd Jul 2008 05:37 AM
default print pages =?Utf-8?B?UnVzcw==?= Microsoft Word Document Management 1 4th Nov 2007 06:14 AM
Default pages etc Dave Neve Windows XP Internet Explorer 2 15th May 2005 07:45 PM
Pages default to first page mn =?Utf-8?B?TU4=?= Microsoft Access Forms 1 19th Feb 2005 11:51 PM
Making more pages available for offline viewing [default is 3 pages deep] Joseph Murphy Windows XP Internet Explorer 2 6th Mar 2004 12:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:31 PM.