As a personal learning experience with limited practical use,
I have been doing some experiments with using .htaccess to
redirect mis-typed URLs to a preferred canonical form. I have
set up a test page at [
http://www.guymacon.org/test.html ]
to show the results of my testing.
Most of the URLs redirect as I want them to do, but the three
URLS (with "//" instead of "/") in bold do not redirect.
I have searched the web and have not found a single website
that redirects *all* "//" URLs to "/" URLs.
Given the rarity of this error, a solution that causes a 404
error rather than a 301 redirect would be fine with me, but I
haven't seen any websites that manage that one either.
Any suggestions for things to try would be most welcome.
Thanks!
[
http://www.guymacon.org/test.html ]
--
Guy Macon
<http://www.GuyMacon.com/>