473,320 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 3374
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
by: Stephen Ferg | last post by:
I have a question that is not directly Python-related. But I thought I'd ask the most erudite group that I know... :-) When did Windows start accepting the forward slash as a path separator...
16
by: Paul Sweeney | last post by:
Does anyone know of a working (python) https proxy which allows viewing of unencrypted data being sent from my browser to an https site? I've worked my way through most on the list at...
4
by: Jon | last post by:
I have links that open https secondary windows using: window.open(url, windowName); The windowName is always the same but I keep getting new windows. Is it possible for each of the links to...
1
by: Luis Esteban Valencia | last post by:
have a website that uses both http and https. I am able to change any hard coded http links to relative paths. No problem. But, I have several aspx and ascx pages that contain hard coded links...
3
by: laredotornado | last post by:
Hello, Is there any notation that would allow me to write a reference to an HTTPS page without specifying the entire url? For example, right now I have <a href="order_form.html">Order...
1
by: Kberg | last post by:
In case anyone is interested, this is how I solved the problem of replacing a back slash with a forward slash (as in being able to access a document on a file share on an intranet via a browser) ...
2
by: Perl Beginner | last post by:
Hi, Is there a way to find a line in a text file that starts with a forward slash? This is how i find a line in text file that starts with a word and then print that line to another text file: ...
4
by: destroooooy | last post by:
Hi folks, I'm finding some (what I consider) curious behavior with the string methods and the forward slash character. I'm writing a program to rename mp3 files based on their id3 tags, and I want...
1
by: rnakawat | last post by:
I seem to have a problem using the preceding:: on substrings of the value. I'll try to explain with an example: Let's say I had a XML that look like: <Root> <Row> <Cell Name="Street"...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.