Incorrect google data structure when there is a special charcater in url

by stratauren   Last Updated October 08, 2019 11:04 AM - source

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.



Related Questions


Schema.org and SEO

Updated August 03, 2017 00:04 AM

What does schema.org/person markup influence?

Updated March 01, 2016 08:01 AM

Schema for telephone

Updated March 04, 2016 04:01 AM