I've defined google schema in my web site, and it's working fine when I'm testing the following urls in google structured data test:
exmaple.com
or
exmaple.com?test=12&check=10
but when I test urls like bellow that contain special characters like $amp; the schema is totally incorrect and full of error:
example.com?text=12&check=10
that is weird because page content in both cases is the same the only difference is the url. here is the link to structured data test: the correct one the incorrect one
I couldn't find what the problem was. when I open the pages in the browser everything is fine, however in structured data test tool and in google search console there is error and problem. this problem is not limited to this certain in any other page when there is special character in the url the same problem happens. any help will be appreciated.
Product
items (the first one 2 more perProduct
, as two properties forOffer
are missing), but I don’t see any issue related to the URL itself. -- Please include a minimal example as code directly in the question which reproduces the issue.