Keyword

Joomla 1.5 search, sef and k2

More
12 years 1 month ago #102303 by John
Joomla 1.5 search, sef and k2 was created by John
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/?searchword=abcdef&ordering=&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
Attachments:

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #102304 by Lefteris
Replied by Lefteris on topic Re: Joomla 1.5 search, sef and k2
Hi. This is not a K2 related question so i am afraid that i cannot help you. A few things you should do:

1. Update Joomla! to it's latest version. The 1.5.17 you are using is really outdated and insecure. You shoulld update to 1.5.26.

2. Use the default htaccess file that is coming with Joomla!.

3. After that you may need to create some menu links to avoid issues you are describing.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #102305 by John
Replied by John on topic Re: Joomla 1.5 search, sef and k2
HI,

Thank you so much for your reply.
>>Going to try as per your suggestion to upgrade Joomla.
>>I am using the default htaccess which is provided by joomla 1.5.17 could you suggest the changes we can move forward to make it suitable.
>>could you just guide me how can we link the search of joomla to k2 menu, also it will need to hide the menu which is just used for linking so that it wont be displayed anywhere in the site, please guide the rough steps how to proceed with this?

Thanks

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #102306 by Lefteris
Replied by Lefteris on topic Re: Joomla 1.5 search, sef and k2
Once you update to 1.5.26 update also your .htaccess file by using the htaccess.txt file. You do not need to modify the .htaccess file after that. I cannot understand your last question totally, but you can create a menu with menu links and just do not use any module to show it. This way your menu will be active ( Joomla! will resolve it's URLs ) but it will not be displayed.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum