OT: Substitute Character for Slash in URL

  • Thread starter Thread starter jason
  • Start date Start date
J

jason

I'm using an old freeware program that sometimes won't recognize a slash at
the end of a URL. It automatically drops it, and the listed site won't
load without the slash. I know some URLs are coded using different
characters, and I'm wondering if there's a substitute code for a slash that
websites will recognize. Thanks.
 
Another way to get to the site you want is to specify its IP number as
its URL, instead of its domain name. You can get that number from a
site like:

http://www.dnsstuff.com/

Type a domain in "DNS lookup", such as "google.com", and press
"Lookup".
 
You can get the I.P. address easily enough, but how does that eliminate the
need to include the rest of the URL?
 
I thought that would solve the trailing slash problem. When I enter an
IP number in my browser, with or without a trailing slash, the page
loads, and the trailing slash is not added or taken away. I thought
maybe the DNS server was causing his problem with the slash, and this
method works around that.
 
jason said:
Susan Bugher wrote:

Interesting...it works on some sites and not on others. I would have
thought something like this would be standardized...

AFAIK it is. The problem may be in the web page.

FWIW - I made a test page that included this link:
<A HREF="http://groups.google.com/">test</A>
and it validated.

http://validator.w3.org/check

" The uploaded file was checked and found to be valid HTML 4.01
Transitional. This means that the resource in question identified itself
as "HTML 4.01 Transitional" and that we successfully performed a formal
validation using an SGML or XML Parser (depending on the markup language
used)."

Susan
 
Susan said:
FWIW - I made a test page that included this link:
<A HREF="http://groups.google.com/">test</A>
and it validated.

http://validator.w3.org/check

" The uploaded file was checked and found to be valid HTML 4.01
Transitional. This means that the resource in question identified
itself as "HTML 4.01 Transitional" and that we successfully performed
a formal validation using an SGML or XML Parser (depending on the
markup language used)."

That IS interesting. I guess some sites are not wanting to conform to
standards for some reason. What their reasons are is kinda hard to fathom.
 
Cool. That was exactly what I was looking for. But it doesn't seem to
work with the forward slash. If it read the table right a forward slash is
encoded as "2F". I tried this and it didn't work. Here's an example:

http://groups.google.com/ - Works
http://groups.google.com/ - Doesn't work

Can anyone tell me what I'm doing wrong?

The forward slash (solidus) is represented numerically as ASCII 0047
Or Hexadecimal 002F.

To get the former, hold down the <Alt> key and type on your NUMERIC
keypad '0047' minus the quotes of course.

It might be a little dependent on what browser you use, and maybe what
your keyboard language settings are in Control Panel, whether the
character displays correctly.

It's all a bit of a mystery designed to make us ask questions. It
worked, didn't it? :)

Trevor
 
Nobody said:
The forward slash (solidus) is represented numerically as ASCII 0047
Or Hexadecimal 002F.

To get the former, hold down the <Alt> key and type on your NUMERIC
keypad '0047' minus the quotes of course.

It might be a little dependent on what browser you use, and maybe what
your keyboard language settings are in Control Panel, whether the
character displays correctly.

Thanks for that. I don't have a numeric keyboard, so I can't try it out, but
it sounds kind of similar to the '/' that I eventually ended up trying.
If so, that code worked for most, though not all sites. It seems that some
sites, for whatever reason, don't want to comply with the standards. They
will not accept *any* substitute for a slash, however valid. Beats me why!
 
jason said:
Nobody wrote:
Thanks for that. I don't have a numeric keyboard, so I can't try it out, but
it sounds kind of similar to the '/' that I eventually ended up trying.

*Very* similar. ;) You can use the same table for both sets of numbers -
to type the symbol on a numeric keypad add one or two leading zeroes as
needed to the number in the table to create the four digit number. . .

http://www.december.com/html/spec/codes.html

Susan
 
russellmz said:
can you use tinyurl.com to replace the link to the one website? for
example, http://tinyurl.com/5v0 leads to groups.google.com/

Tinyurl was going to be my fallback position, but though it works with my
browser, it doesn't work with the freeware program in question. That
program is really picky and won't accept the Tinyurl URLs I give it.

Oh well. :D
 
Back
Top