Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 07:21:07 PM

Pages: [1]   Go Down
  Print  
Author Topic: Why does my link double up the URL sometimes?  (Read 827 times)
irrsre1
Trekkie
**
Offline Offline

Posts: 11


« on: July 29, 2002, 05:14:00 AM »

Wow, I'm not sure how to explain this.

Okay, I'm at my home page. I've created a link there to take you further into the site---down one folder from public. My assumption was that the link would be constructed thus:

<a href="http://www.mypage.com/firstsubfolder/filename.html">Link</a>

but when I click on that link it takes me to:

www.mypage.com/www.mypage.com/firstsubfolder/filename.html

or, rather it doesn't take me anywhere. I get the Error 404 page which is decidedly unlovely.

So, I took out the "http://www.mypage.com" part of the link and everything is fine. But that seems...well, strange and it gets a bit inconsitent once I get into the site.

Also it doesn't appear to be standard web-wide.

If I view source on this page here, for example, none of the links omit the www.lunarpages.com part of the URL even though we're already in lunarpages.

Is this, perhaps, a "feature"? Can I turn it off?

-b
Logged
irrsre1
Trekkie
**
Offline Offline

Posts: 11


« Reply #1 on: July 29, 2002, 05:25:00 AM »

rassn-frassn-frassn!

It's not doing it now. So I have no idea what I broke the first time, but apparently I've fixed it now.

Aren't you glad it's only HTML and not firearms?

-b
who prays to the brain fairy
Logged
irrsre1
Trekkie
**
Offline Offline

Posts: 11


« Reply #2 on: July 29, 2002, 05:34:00 AM »

Yes, b, you can turn it off and on. It all depends on whether you remember to type in the "http://" part of your link, silly girl.

Whee! I'm learning!
Logged
Max
Über Jedi
*****
Offline Offline

Posts: 2534



WWW
« Reply #3 on: July 29, 2002, 08:28:00 AM »

I am glad you got it resloved, most times it is something very simple. But that might be the hardest of things to find out  "[Smile]"
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: