![]() |
Google Sitelinks Search Box
We recently have been trying to implement google's sitelinks search box feature into our website.
See (https://developers.google.com/webmasters/richsnippets/sitelinkssearch?utm_source=wmc-blog&utm_medium=direc...inks-searchbox) We've followed the steps provided by Google and implemented the following code into common_files/customer/search.tpl: Code:
We've checked the JSON-LD markup for any errors and aren't seeing any. It's been over two weeks and we've had no luck with Google implementing the sitelinks search box when searching for our website. Has anyone gotten this to work on X-Cart? If so, how long did it take for Google to implement this, and what code did you use? |
Re: Google Sitelinks Search Box
It looks like you have it right, however your site redirects https to http. You may need to turn that off or have the code use http instead of https.
Thanks, Carrie |
Re: Google Sitelinks Search Box
See requirement A which further shows you need to do my suggestion. Your canonical url is http, not https. It may matter.
Thanks, Carrie |
Re: Google Sitelinks Search Box
Quote:
Carrie, thanks for the suggestion. Since our canonical is http, should the "target" URL in my JSON code be HTTP? We turned off the HTTPS to HTTP redirect. |
Re: Google Sitelinks Search Box
Quote:
I would recommend trying it. I installed it on our site yesterday so I'll let you know how long it takes to get picked up for us too. Carrie |
Re: Google Sitelinks Search Box
We were looking around at a website that currently has the sitelink search bar working, and noticed it is in between the <head></head> tags on their site, and ours are between the body tags. Should we move it to the head?
Also, if it's in the head tag, should the rel="canonical" link come before it? |
Re: Google Sitelinks Search Box
Quote:
Any update on if Google has noticed and included your search box? It's been close to a month and no luck for us yet. |
Re: Google Sitelinks Search Box
No I'm not seeing it either. :(
Carrie |
Re: Google Sitelinks Search Box
Three months later, and still no search box. Wondering if it's due to google choosing just simply to not include it?
|
Re: Google Sitelinks Search Box
Another month passed and no update.
BUT, we ran into an error on our site with another .php file, and we realized it was a JSON error. Our server host informed us that JSON was disabled. They recently ran maintenance and it may have been disabled during the maintenance, but if that's not the case, JSON would not be working from the beginning; therefore this code would have never been recognized by Google. Will wait another month to see if it works now. |
All times are GMT -8. The time now is 12:10 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.