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:




but when I test urls like bellow that contain special characters like $amp; the schema is totally incorrect and full of error:


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.

  • 1
    I can’t reproduce it. Both versions have plenty of warnings for the Product items (the first one 2 more per Product, as two properties for Offer 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.
    – unor
    Oct 8, 2019 at 11:00

1 Answer 1


For encoding special characters in URLs, you can use Percent-encoding, also known as URL encoding. You can also use the free online tool URL Decoder / Encoder.

Thus, the URL that you told us in the poster after encoding will have the following syntax:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.