cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem adding link to listing description, eBay auto corrects the code.

I want to create a specific link back to my other listings within the HTML description:


https://www.ebay.com/sch/m.html?_ssn=USERNAME&_nkw=WORD


The above links to a sellers items with the word "WORD" in the title.

When it is entered into the HTML in the listing description with a link, eBay auto-corrects the "&" to "&" which is not recognized as a URL and the link fails. 

 

does anyone know of a way to enter the above so the "&" is not auto-corrected? I have tried to use the actual URL code (%26) but eBay reads that as part of the username.

 

It's the damnest thing!

Message 1 of 7
latest reply
1 BEST ANSWER

Accepted Solutions

Problem adding link to listing description, eBay auto corrects the code.

On that train of thought try 

<a href="https://www.ebay.com/sch/m.html?_ssn=USERNAME&#38;_nkw=WORD">Displayed link text here</a>


where 

&#38;

 is in place of the 

&

in the link.

Give a man a fire, he'll be warm for a night.
Set the man on fire...

View Best Answer in original post

Message 7 of 7
latest reply
6 REPLIES 6

Problem adding link to listing description, eBay auto corrects the code.

@little.font.lord.leroy 

 

Do it like this and and replace YourIdHere with your ID.

 

https://www.ebay.com/sch/YourIdHere/m.html

Have a great day.
Message 2 of 7
latest reply

Problem adding link to listing description, eBay auto corrects the code.

Thank you for that style, but it still doesn't address the  &_nkw=WORD part of the code.

Message 3 of 7
latest reply

Problem adding link to listing description, eBay auto corrects the code.

Try highlighting the entire link you are trying to include, right-clicking and selecting 'copy'. Then go to your browser's address bar and paste (but do not navigate to) the URL. After the URL is posted in the address bar, highlight it again and right-click to copy it again.
After that try pasting it in eBay's description editor but instead of just pasting it right-click and choose the 'paste as plain text' option and see if it does better.

If that doesn't work, try adding

target="_blank"

 after the href in your link in the HTML.

Give a man a fire, he'll be warm for a night.
Set the man on fire...
Message 4 of 7
latest reply

Problem adding link to listing description, eBay auto corrects the code.

thanks for the suggestion, I have already tried that and eBay still auto-corrects the "&"; I was hoping that someone might know of an over-ride code for the auto correct that I could use in the HTML description section. 

Message 5 of 7
latest reply

Problem adding link to listing description, eBay auto corrects the code.


@little.font.lord.leroy wrote:

thanks for the suggestion, I have already tried that and eBay still auto-corrects the "&"; I was hoping that someone might know of an over-ride code for the auto correct that I could use in the HTML description section. 


%26 represents ASCII 38 (the ampersand) in hexadecimal/Unicode, but can you try expressing it in decimal instead? I think it's <backslash><value>, maybe with leading zeroes, such as \0038. (I may be wrong as it's been a while since I was messing about with character mapping and such.)

 

I wouldn't call that unwanted code replacement an auto-correct, but it's replacing the ampersand character with the HTML entity code that represents it (&amp;) in order to avoid having it interpreted as a hyperlink attribute value, which is actually what you do want it to do, but the replacement is occurring before the HTML parser sees it (I think).

 

I'm wondering if you can do your own hardcoding of the HTML link, which would be tagged as 

<a href="https://www.ebay.com/sch/m.html?_ssn=USERNAME&_nkw=WORD">Displayed link text here</a>

 

...and whether that would make a difference.

Message 6 of 7
latest reply

Problem adding link to listing description, eBay auto corrects the code.

On that train of thought try 

<a href="https://www.ebay.com/sch/m.html?_ssn=USERNAME&#38;_nkw=WORD">Displayed link text here</a>


where 

&#38;

 is in place of the 

&

in the link.

Give a man a fire, he'll be warm for a night.
Set the man on fire...
Message 7 of 7
latest reply