Google Custom Search and CMSB
6 posts by 2 authors in: Forums > CMS Builder
Last Post: May 25, 2009 (RSS)
By NigelGordijk - May 20, 2009
I've just started working on a client's site, which will have a Google custom search engine on every page. Here's the first page I'm working on: http://www.yallaf1.com/links.php.
The client already has a site on their server, which uses Article Manager that generates pages with a .shtml extension. When I test the search engine on my page it only returns results from the Article Manager site, not my .php CMSB-generated page.
I realise that this might be a Google issue, not one for CMSB, but has anyone else built Google custom search into a CMSB site?
Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net
Re: [NigelGordijk] Google Custom Search and CMSB
By ross - May 21, 2009
Thanks for posting!
The pages should be searchable. I am curious if perhaps you have the CMS Builder stuff happening in a folder you haven't told Google to search.
Another idea would be trying to add:
'useSeoUrls' => false,
to your viewer code. That will make the urls for your pages more seo frieldly. The only thing there is that this setting doesn't work on all servers.
Give it a shot and let me know how you make out :).
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/
Re: [ross] Google Custom Search and CMSB
By NigelGordijk - May 21, 2009
Thanks for the reply. Please can you tell me where this line of code should go? In the header?
Regards,
Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net
Re: [NigelGordijk] Google Custom Search and CMSB
By ross - May 22, 2009
It goes right up in the viewer code at the top. So like this:
list($tagsRecords, $tagsMetaData) = getRecords(array(
'tableName' => 'tags',
'useSeoUrls' => true,
));
Of course, your code will look a bit different. One other thing is that I gave you slightly wrong code last time. You want to be using 'useSeoUrls' => true.
Does that make more sense? Let me know :).
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/
Re: [ross] Google Custom Search and CMSB
By NigelGordijk - May 22, 2009
I've added the code to this page - http://www.yallaf1.com/stories.php - but the Google search still can't seem to find any of the headlines for these articles.
Kind regards,
Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net
Re: [NigelGordijk] Google Custom Search and CMSB
By ross - May 25, 2009
That's interesting. Nothing at all seems to happen when I run a search from that page. It is possible that your server doesn't support that setting I got you to change in my last post.
Could you send me FTP details (and a link to this post) through consulting@interactivetools.com?
I'll take a closer look and see if there is anything I can see. Thanks!
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/