Jump to content

URL includes controller=search despite friendly url, PS


Recommended Posts

Despite the fact we have friendly urls turned on, our serch URLs look like this:


instead of


Anyone has solved to get rid of the controller=search within the URI?

It seems to be default behaviour even if we do a scratch install with the latest available 1.6. version.


Thank you and regards, Scully

Edited by Scully (see edit history)
Link to comment
Share on other sites

Thank you for your reply.


I already tried that but with no effect. I also checked that the .htaccess was newly written.


I also tried to debug classes/Link.php


When I echo the result as html comment before return in  public function getPageLink I get the correct result.fron

Surprisingly the link in the front end is then ok.


As soon as I get rid of the debug echo, the link is wrong again.

Any more suggestions?

Link to comment
Share on other sites

hours later ....


I figured out that changing the blocksearch-top.tpl helped. So at the end I remove the hidden field controller with its content search.

{*  Remove this comment if User Friendly URL is not enabled
<input type="hidden" name="controller" value="search" /> 
Remove this comment if User Friendly URL is not enabled *}

Any better way is welcome to see.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...