Keyword

k2 tools Archive redirects to homepage, how to fix

  • Selma Nouzha
  • Selma Nouzha's Avatar Topic Author
  • Offline
  • New Member
More
5 years 5 months ago #127875 by Selma Nouzha
Selma Nouzha created the topic: k2 tools Archive redirects to homepage, how to fix
Hi,
I am using the Archive module in K2 tools, when I click to list items of any month, the URL changes to 127.0.0.1/sitename/index.php/itemlist/date/2014/4 but it redirects me to the homepage. I am using the same module on another site, it works fine but the URL is 127.0.0.1/sitename2/index.php/component/k2/itemlist/date/2013/10..So I am missing "/component/k2/" on my first site once I add it to the URL it works fine.
So I need your help please on how to add "/component/k2/" to the code to make the module works correctely.
Thank you in advance.
The topic has been locked.
More
5 years 5 months ago #127876 by Lefteris
Lefteris replied the topic: Re: k2 tools Archive redirects to homepage, how to fix
Hi. Do you have any template overrides for the module? Ensure that:

1. K2 is up to date.
2. Joomla! is up to date.
3. You have not messed up with K2 advanced SEF options. If K2 advanced SEF is enabled try to disable it.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/
The topic has been locked.
  • Selma Nouzha
  • Selma Nouzha's Avatar Topic Author
  • Offline
  • New Member
More
5 years 5 months ago - 5 years 5 months ago #127877 by Selma Nouzha
Selma Nouzha replied the topic: Re: k2 tools Archive redirects to homepage, how to fix
Thank you Kavadas for your reply,
Actually i am running the latest version of joomla (2.5.20) and K2 (2.6.8 ). Also K2 advnced SEF is disabled.
Is there a way to add the missing part of the URL in the code.
Thank you.
The topic has been locked.
More
5 years 5 months ago #127878 by Lefteris
Lefteris replied the topic: Re: k2 tools Archive redirects to homepage, how to fix
What's the type of the menu link of the home page?

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/
The topic has been locked.
  • Selma Nouzha
  • Selma Nouzha's Avatar Topic Author
  • Offline
  • New Member
More
5 years 5 months ago #127879 by Selma Nouzha
Selma Nouzha replied the topic: Re: k2 tools Archive redirects to homepage, how to fix
Many many thanks to you Kavadas for giving the solution, i do not know what makes the difference, my home page menu type was K2 categories as soon as I changed it to Article my archive module works fine.
B) .
Thank you.
The topic has been locked.
  • Selma Nouzha
  • Selma Nouzha's Avatar Topic Author
  • Offline
  • New Member
More
5 years 5 months ago #127880 by Selma Nouzha
Selma Nouzha replied the topic: Re: k2 tools Archive redirects to homepage, how to fix
By the way which page should I use to customise archive display page, i only want it to show titles.
Thank you.
The topic has been locked.
More
5 years 5 months ago #127881 by Lefteris
Lefteris replied the topic: Re: k2 tools Archive redirects to homepage, how to fix
The date listings are using the generic.php layout. You can take a read at getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates to learn how you can change the markup. Before you do so, check the K2 parameters. There are some options for date listings there.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/
The topic has been locked.
  • Selma Nouzha
  • Selma Nouzha's Avatar Topic Author
  • Offline
  • New Member
More
5 years 5 months ago #127882 by Selma Nouzha
Selma Nouzha replied the topic: Re: k2 tools Archive redirects to homepage, how to fix
that helps a lot , thank you
The topic has been locked.
More
5 years 5 months ago #127883 by Lefteris
Lefteris replied the topic: Re: k2 tools Archive redirects to homepage, how to fix
You are welcome.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/
The topic has been locked.
Moderators: william white

Powered by Kunena Forum