469,344 Members | 6,137 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,344 developers. It's quick & easy.

Links to https fails 404 with preceding forward slash

In reviewing my web site statistics, I see that I get 404 errors (often enough to make me ask about it) when users try to click on a link to a secure external site (i.e. an https:// link).

I've tested these links multiple times, and they always work fine for me. Other links do not seem to have trouble. It seems to be related to "https://" for some reason. I get this for another site too.

The statistics page shows the 404 failed link with an additional forward-slash at at the start of the url, such as:

"/https://www.SomeRandomWebSite.com"

Does anyone know why this happens and how I can prevent it? Is this a browser-specific issue that I have no control over?

Thanks!

--
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Jun 14 '06 #1
2 3184
there is no good answer here.
Apparently you have a link on your page that has forward slash first.
"/https://www.SomeRandomWebSite.com"

You need to fix it and that is it.

Just an idea. Can it be that you link has an extra space. like
<a href=" https://.....">My Link</a>

Then browser probably sees first character as a space and treats it as
relative link to the current page. Thus adding first slash?
George.
"Greg Collins [Microsoft MVP]" <gcollins_AT_msn_DOT_com> wrote in message
news:eQ**************@TK2MSFTNGP02.phx.gbl...
In reviewing my web site statistics, I see that I get 404 errors (often
enough to make me ask about it) when users try to click on a link to a
secure external site (i.e. an https:// link).

I've tested these links multiple times, and they always work fine for me.
Other links do not seem to have trouble. It seems to be related to
"https://" for some reason. I get this for another site too.

The statistics page shows the 404 failed link with an additional
forward-slash at at the start of the url, such as:

"/https://www.SomeRandomWebSite.com"

Does anyone know why this happens and how I can prevent it? Is this a
browser-specific issue that I have no control over?

Thanks!

--
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )

Jun 15 '06 #2
No - as I said, the link is fine. I just checked again. No extra slash. No extra space. Just a solid anchor tag as it is supposed to be. I never have any trouble clicking it, but for some reason I get it listed as a 404 with a preceding forward slash for certain clicks.

My best guess at this point is that it is some particular browser causing it to happen... but I'm really at a loss here.

--
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Jun 15 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Paul Sweeney | last post: by
4 posts views Thread by Jon | last post: by
1 post views Thread by Luis Esteban Valencia | last post: by
3 posts views Thread by laredotornado | last post: by
4 posts views Thread by destroooooy | last post: by
1 post views Thread by rnakawat | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.