Low search form ignoring specified results_page
This is a weird one because this test page used to work fine, but now it just keeps ignoring the specified results_page and redirects to the home page no matter what.
EE2.5.5 using LS2.2.0
In the rendered html form action="http://www.trizo21.com/" no matter what results_page I set, and it also ignores the default search/results page.
Test page is http://www.trizo21.com/dev/lowform_pf , test results page is http://www.trizo21.com/dev/lowresults_pf
My form tag is basic:
{exp:low_search:form query="{segment_3}" collection="product_family" result_page="dev/lowresults_pf" secure="no" search_mode="any"}
Results tag is basic too:
{exp:low_search:results query="{segment_3}" orderby="entry_id" sort="desc" limit="4000" channel="product_family"}
I've turned on debugging so you can see on the template what's happening.
Any ideas?
The only thing that has changed to the site recently is removing index.php with the official Ellislab method has been added. http://ellislab.com/expressionengine/...
Htaccess issue?
Replies
e-man 17 Feb 2013 23:26
A quick test: In general configuration setting "Name of your site's index page" back to index.php instead of blank and it's working again.
Seems to be a recurring bug on this server - had similar issues with assets2
http://expressionengine.stackexchange...
Low 18 Feb 2013 08:51
Okay -- do you still need help from me for this?
e-man 18 Feb 2013 11:43
Well, I'd like clean URLs on this - any ideas what could cause this? I can you give a login/pass if you'd like to take a look around.
Low 18 Feb 2013 11:57
Can you try and add this to your .htaccess file?
DirectoryIndex index.php index.html
e-man 18 Feb 2013 12:23
Boom!
That solved it. Thanks Low - back to work now :)
Low 18 Feb 2013 12:26
Eeexcellent.