Change Schema Information on Website for Search URL

Posted in: Newspaper
Post count: 104

Hello,

I have newspaper v6.2 installed on my website.

URL – http://www.naukrinama.com

The theme bedefault contains the schema information. I want to check the search URL in the schema :

{“@context”:”http:\/\/schema.org”,”@type”:”WebSite”,”url”:”http:\/\/www.naukrinama.com\/”,”name”:”Naukri Nama”,”potentialAction”:{“@type”:”SearchAction”,”target”:”http:\/\/www.naukrinama.com\/?s={search_term_string}”,”query-input”:”required name=search_term_string”}}</script><meta

I want to change it to :
“target”:”http:\/\/www.naukrinama.com\/search\/{search_term_string}”

Please let me know how can this be achieved.

Post count: 22421

Hello,

The theme does not handle this information, rather the SEO yoast plugin. (we use it on our demo as well).
You can change the url from the plugin settings.
You can follow this topic to see how the url can be changed: https://yoast.com/changing-urls-in-search-results/

Thank you!

Post count: 104

Hello Bogdan,

I am talking about the Schema information coming onto the home page of the website. And the SEO schema info. is written inside the theme code file i guess.

See the selection data in the screenshot : http://imgur.com/hRRDBFo

This screenshot of the source code of my home page : http://www.naukrinama.com

Now the current search URL on my website looks like this – http://www.naukrinama.com/search/bsnl+operator

So you can see I have already modified the search URL, but in the schema information of home page it is still showing the old URL type.

So let me know how can I edit it.

I hope I am able to clarify my question here well now.

Post count: 22421

Hi,

Please try to disable the SEO plugin and search for the schema section in the page source again. You will see that it will be gone.
This is the complete list of files that contain any at all schema information in the theme: http://screencast.com/t/DRb0HbsfraW

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.