Website Redirection/Substitution Rules - I can't get them to work!

We would like our domain name to have specific capitalisation when shown in the address bar of a browser. I think I should be able to achieve this using Web Site rules, either Substitution or Redirection, but I can’t seem to get either to work.

Firstly, does anyone think this won’t work? For example, if the users types www.example.com into their browser, I would like the server to change it to www.eXaMpLe.com (don’t ask why, this is just an example after all!).

I have tried both Substitution & Redirection, with various options, a few examples of which are listed:

www.example.com => http://www.eXaMpLe.com

.example. => http://www.eXaMpLe.com

www.example.com => www.eXaMpLe.com

.example. => .eXaMpLe.

However, none of this seems to make any difference, except in some cases, if the wildcards are too ‘wild’, then it can replace bits of the URL after the host/domain, that include the word ‘example’, but not in the host/domain portion of the URL.

Am I trying to do something it isn’t designed to do? How do other websites correct/adjust the capitalisation of their URLs etc?

Any comments appreciated,

Paul

PS I’ve just noticed that if you click on the links to the example site, which of course doesn’t exist, & instead opens a page that explains that example is not a valid domain name, the browser clearly displays the address in lower case only - how did that happen? Surely URLs don’t just change themselves into lower case by themselves, as many web servers (UNIX) are case-sensitive.

Subject: Website Redirection/Substitution Rules - I can’t get them to work!

Paul, I am not an expert in this topic, but I think that this feature is intended to be used to modify components of the url after the ip address or hostname, not the ip address or hostname itself. I tried using rules to modify hostname and could not the result I wanted. When using rules to modify components of the url after hostname, things worked fine and predictably. If anyone else has observed otherwise, please let us know.

Stephen

Stephen

Subject: Website Redirection/Substitution Rules - I can’t get them to work!

Paul:try this:

On the home page of your site add the following to the onLoad event of the tag

OnLoad=javascript:location=‘http://www.eXaMpLe.com’;

hostnames /dns are case insensitive. So domino probably is sending the right headers and the browser is ignoring them or maybe domino is just ignoring the captialisation.

Subject: Won’t that cause a loop?

The simplest solutions are often the best ones, & I like this one.

However, it’s gonna have to check the current location first, otherwise it’ll cause a loop, won’t it?