Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author qhoxie

    (@qhoxie)

    Hello,

    The plugin does support indexing custom post types. Please give it a try and let us know what you think!

    Best,
    Quin, Swiftype

    Hey Quin,

    Love this feature, but I was wondering if we could choose which Custom Post types get indexed? Is there a way to block some? I have a lot post types that are for data around the site but shouldn’t show up in search independently.

    Patricio Campos A.

    (@patriciocamposa)

    Hi itsmicks

    You can use robots.txt to disallow access to swiftype

    check this
    https://swiftype.com/documentation/robots

    Plugin Author qhoxie

    (@qhoxie)

    Hello,

    This actually isn’t the case with the WordPress plugin. The robots directives only apply to search engines created using our crawler solution. There is a good solution for the plugin as well. You can use a filter to restrict the post types that are allowed to be searched. Here is an example that only allows posts: https://gist.github.com/qhoxie/47e39f8db6b6fa2b7d7c

    Best,
    Quin

    Is it possible to add checkboxes in the search to narrow it by custom post types?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Custom Post Types’ is closed to new replies.