2012-08-28

Hi Guys,

I am working on joomla not much experienced just new, i am using K2 community,

my joomla version is 1.5.17, i am using the basic search and sef module provided by the joomla,

i am trying to get sef URLs, i activated, sef, mod_rewrite.

all pages seems to work fine but when i initiate search it goes in to that page which is unidentified, it seems that the default template is assigned to that page, images urls seems to be broken, we can only see the "Search" in the title which is correct as we see this title even when sef is not active.

i Would like to clarify more, the pages that are created as k2 items are working but search is a page which is default of Joomla, also there isn't any particular item or page for the page which displays the result of the search. i found that these result page is generated via file at runtime.

after iniatiting search the url looks like this

note : its an example of url, not the actual one
www.example.com/component/search/?search...amp;searchphrase=all

as i have seen or tried to diagnose from my side, joomla automatically assigns the component name to base href tag after setting the sef from global.

if i see in source code of this page

base href has value "www.example.com/component/search/"

like this it does to other page to, but search is the page which is created on runtime,

also Itemid is doesnt reflects in url, i have other search modules too, i am going to implement different logic also differentiating them via Itemid, but after activating the sef Itemid isn't there in Url.

i need to implement the sef and mod rewrite url, along with the proper functioning of search on site.

Also there must not be problem with rewritebas

/www.example.com/web/content/components/com_search

there are 2-3 sites starting from "/" which are in their respective folder

more which individually have their own .htaccess files

Is there anything i can do from file, or some particular setting.

Please suggest havn't found any satisfactory solution for this yet.

also attaching the .htaccess file which i am using currently,

please note there are several edits done from my side too for trial and error.

if you find and solution, please guide

Thanks in Advance

Show more