Log In · Register

 
 
Closed TopicStart new topic
Repeated URL, http://xanga.com/http://xanga.com...Wha?
lpdrummer
post Jun 7 2005, 04:25 PM
Post #1


Senior Member
****

Group: Member
Posts: 137
Joined: Feb 2005
Member No: 103,647



OK On my xanga ( www.xanga.com/lpdrummer ) the menu buttons on the bottom have the link listed twice. This is in my code-



but when you click the link, it takes you to http://www.xanga.com/www.xanga.com/claf

So, on all my buttons, the http://xanga.com prefix is on the beginning of each address. this is causing my menu buttons to take you to an invalid link.

After playing around with this, I figured out that you must add the "http://" prefix before every URL, or this happens. Is this a bug, or is something in my code causing this?
 
lilphoenix
post Jun 7 2005, 04:34 PM
Post #2


I'm just a little bit crazy...
******

Group: Member
Posts: 1,119
Joined: Jun 2004
Member No: 19,760



that's funny... sometimes i don't have to put the prefix http:// on my links.

[edit]
Your image map links look fine to me.
 
lpdrummer
post Jun 7 2005, 05:07 PM
Post #3


Senior Member
****

Group: Member
Posts: 137
Joined: Feb 2005
Member No: 103,647



QUOTE(lilphoenix @ Jun 7 2005, 5:34 PM)
that's funny... sometimes i don't have to put the prefix http:// on my links.

[edit]
Your image map links look fine to me.
*


Yea, it looks fine now, but before I put the "http://" before the URLs, it was not working.
 
*mipadi*
post Jun 8 2005, 07:59 AM
Post #4





Guest






If you put in a full address, such as www.xanga.com/whatever, you have to precede it with http://; otherwise, the web server will think you are using a relative path, and just append www.xanga.com/whatever to your current path.
 
lpdrummer
post Jun 8 2005, 11:22 AM
Post #5


Senior Member
****

Group: Member
Posts: 137
Joined: Feb 2005
Member No: 103,647



Ahhh, OK, that would be what was happening then...
 
giggl3s
post Jun 8 2005, 12:13 PM
Post #6


wannabe an official member!
****

Group: Member
Posts: 266
Joined: Jan 2004
Member No: 751



or it might be that you enclosed your url with both " and '
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: