05-01-2022 11:47 AM
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!
Solved! Go to Best Answer
05-02-2022 06:47 PM
On that train of thought try
<a href="https://www.ebay.com/sch/m.html?_ssn=USERNAME&_nkw=WORD">Displayed link text here</a>
where
&
is in place of the
&
in the link.
05-01-2022 11:55 AM
Do it like this and and replace YourIdHere with your ID.
https://www.ebay.com/sch/YourIdHere/m.html
05-01-2022 12:05 PM
Thank you for that style, but it still doesn't address the &_nkw=WORD part of the code.
05-01-2022 07:16 PM
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.
05-02-2022 12:50 PM
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.
05-02-2022 02:02 PM - edited 05-02-2022 02:03 PM
@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 (&) 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.
05-02-2022 06:47 PM
On that train of thought try
<a href="https://www.ebay.com/sch/m.html?_ssn=USERNAME&_nkw=WORD">Displayed link text here</a>
where
&
is in place of the
&
in the link.