ProBlog

A powerful October CMS Blog plugin. Boost your SEO with robust blogging tools by Radiantweb.

← Back to ProBlog Support

The blog search does not work it only seems to bring back all posts no matter wha is entered?

So let’s start with your page routing and how you have your components configured. Can you describe your setup so I can reproduce?

I have the following setup.

theme/pages/blog.html

/blog/:filter?/:slug?/:month?/:instance?/
[proBlogList]
postsPerPage = 5
pagination = 1
series = 1
filter_type = "none"
searchpage = "search"
render = "none"

then theme/pages/search.html

/blog/search/:slug?
[proBlogList]
postsPerPage = 5
pagination = 1
filter_type = "none"
searchpage = "search"
render = "none"

Unsure but I think if there is an issue, it will relate to 'BlogList.php.'

protected function loadPosts()...

Okay I managed to get it working.

pages/blog.htm (blog landing page)
www.website.com/blog

url = "/blog/:filter?/:slug?"

pages/blog/blog-post.htm (blog post page)
www.website.com/blog/category/post

url = "/blog/:filter/:slug?"

pages/blog/search.htm (search page)
www.website.com/search/{ search-words }

url = "/:filter?/:slug?"

This also works if using 2 or more blog urls such as 'blog' and 'tutorial', but just duped into 2 different folders. To separate out the posts between each blog urls I would list them under different 'series' such as 'blog' and 'tutorial' then filter accordingly.

If using the above 2 or more blog type urls I would place the search in the following.

pages/search.htm (search page)
www.website.com/search/{ search-words }

url = "/:filter?/:slug?"

Last updated

I also noticed it isn't working on your website. Might need to take a look into this.

http://goradiantweb.com/blog

1-5 of 5