HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 9th, 2012, 04:26 PM
frasersales-ltd frasersales-ltd is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Posts: 8 frasersales-ltd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 45 sec
Reputation Power: 0
& in the URL

After clicking on a picture of my website on Yahoo Images. The & symbol in the URL is being replaced with the &

So the link is shown on Yahoo Images as
frasersales.com/products.asp?product='hdmi_to_dvi_5m_cable_high_definition'&category='dvi_hdmi_cables'

When clicking the link it's shown in the IE address box as the below link and a 500 server error happens
frasersales.com/products.asp?product='hdmi_to_dvi_5m_cable_high_definition'&category='dvi_hdmi_cables'

How would I go about fixing this?

Reply With Quote
  #2  
Old April 9th, 2012, 05:16 PM
MrFujin's Avatar
MrFujin MrFujin is offline
Lord of the Dance
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Oct 2003
Posts: 3,130 MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 23 h 46 m 38 sec
Reputation Power: 1736
It works if you add www in front:
www.frasersales.com/products.asp?product='hdmi_to_dvi_5m_cable_high_definition'&category='dvi_hdmi_cables'

My first though was the DNS, but frasersales.com (without www) works as I expected.

Have you looked the the code in referred file from the error message?

Reply With Quote
  #3  
Old April 9th, 2012, 05:42 PM
frasersales-ltd frasersales-ltd is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Posts: 8 frasersales-ltd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 45 sec
Reputation Power: 0
I removed the www because the Reply to Thread does not accept URL's for new visitors.

The URL I entered in the Reply to Thread had the & amp ; (without the spaces) in the URL although this is displaying on the post as the & symbol. So might be something to do with HTML URL encoding.

The only way I can explain the issue is by showing the Yahoo images URL and my website URL on a text file.

frasersales.com/url.txt

Reply With Quote
  #4  
Old April 10th, 2012, 04:58 PM
EEsterling EEsterling is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2011
Posts: 97 EEsterling User rank is Sergeant Major (2000 - 5000 Reputation Level)EEsterling User rank is Sergeant Major (2000 - 5000 Reputation Level)EEsterling User rank is Sergeant Major (2000 - 5000 Reputation Level)EEsterling User rank is Sergeant Major (2000 - 5000 Reputation Level)EEsterling User rank is Sergeant Major (2000 - 5000 Reputation Level)EEsterling User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Day 18 h 28 m 56 sec
Reputation Power: 49
Here is the source Yahoo Images link. I see the problem you are describing.

The link to your site is coming from Yahoo. So, wouldn't that imply it is Yahoo's error and therefore not something you can fix? You'd need to tell Yahoo to fix that. Or did you upload the URL to Yahoo Images? In which case, maybe you should check the encoding of what you uploaded. (?)
Comments on this post
MrFujin agrees!

Reply With Quote
  #5  
Old April 11th, 2012, 08:10 AM
frasersales-ltd frasersales-ltd is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Posts: 8 frasersales-ltd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 45 sec
Reputation Power: 0
I did not upload the URL to Yahoo Images. After checking on the web I found that maybe I should replace & to the & amp ; on all URL's on a website. I'm not 100% sure if this is the case and there's a lot of links on my site so would need to be certain.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > & in the URL

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap