Include index.php inside result url
Hi,
I'm not removed the index.php via .htaccess, because when it's removed the site load page time is very slow.
So when I use Low Search, it works fine but index.php doesn't appear in the url.
{exp:low_search:results query="{segment_2}"}
{title}
{/exp:low_search:results}
It results www.mysite/recipes/meat. I would like to obtain:
www.mysite/index.php/recipes/meat
I set $config['index_page'] = "index.php";
I rebuild the collections...... index.php is not here... I don't kno why.
Thanks,
Stéphane
Replies
Stéphane Cabaret 8 Jan 2014 18:11
I set it inside set in Channel Path Settings.
Now index.php appears.
But i have an other problems how tho include the categories inside the url??
www.mysite/index.php/recipes/meat/boi...
thanks
Low 8 Jan 2014 18:26
You have to compose the end url for an entry yourself, just like you would in a channel:entries tag. That's not something Low Search can do for you fully automatically.
Stéphane Cabaret 8 Jan 2014 18:54
Would be fantastic if Low Search can do all these things fully ...
Thanks for your reply!
Low 8 Jan 2014 18:56
Due to the nature of EE's flexibility, it's practically impossible to cater for all possible situations, I'm afraid.
Stéphane Cabaret 8 Jan 2014 19:17
Yes, sure!!
When i removed index.php, the site is 8 times slower..... It's for why, i stay with index.php until to solve that. It's seems it's an EE problem, i tried many .htaccess config, always the same result.
By the way, i'm using Low Search, Low Variable, Low Reorder, great work !!