Why am I getting the eBay “base href” error with my code?
- Sellercore asked 9 years ago
- You must login to post comments
Real simple, a base href is when you link a eBay user away from the eBay site. Obviously eBay wants their users to stay on eBay. This doesn’t mean that you can’t link a user away from eBay, it just means that when you do you have to include code that tells your browser to open a new tab or window leaving the original eBay page still open.
To correct this you simply need to add the “target” attribute to your links.
<a href="http://yourdomain.com">Will cause base href error.</a>
<a href="http://yourdomain.com" target="_blank">eBay safe link with target</a>
Replacing “_blank” with a custom name in multiple links will tell the browser to reuse the same open tab for each link. This is a good practice as to not have your viewers with an excess number of open tabs.
- Sellercore answered 9 years ago
- last edited 9 years ago
- You must login to post comments
Please login first to submit.