Is it ok to submit urls to Google in HEX or ASCII only?
Is either possible for crawling?
mancunian
4:04 pm on Feb 3, 2022 (gmt 0)
Is it okay to submit urls to Google with HEX coding in them such as
%3Fv%3D
or will Googlebot only crawl if the url is in ASCII
?v=
Thanks in advance
robzilla
5:22 pm on Feb 3, 2022 (gmt 0)
It's okay as long as you don't expect them to be treated as the same URL. They're not interchangeable. They can both be valid URLs, strictly speaking, and be crawlable as such, but your web server probably responds differently to each. When the question mark is encoded, anything that follows will not be treated as a parameter. So this is something I would avoid.
Dimitri
12:32 pm on Feb 6, 2022 (gmt 0)
Define "submit".
listentobrett
8:02 am on Mar 5, 2022 (gmt 0)
It depends what you mean by "ok"...
In general, I'd say that it's better to not have urls with anything like that in them.
As I see it, they theoretically do refer to the same resource (it's the same URL, just encoded differently), however I don't know how Google handles the differences... My hunch is that it wouldn't matter, but I can't say that for sure.
Also, you didn't say why you need to submit them like that to Google...
By the way, the proper term for this is "URL Encoding" (not "HEX coding") ( [w3schools.com...] ) which may help if you need to Google elsewhere for it...
tangor
7:55 am on Mar 6, 2022 (gmt 0)
K.I.S.S. Whatever encoding, G sees it as a unique URL ... code however you like, but most times simple is better.