Keyword

Wrong URL in Content Module

  • Thomas Thrane
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
4 years 10 months ago #172366 by Thomas Thrane
Wrong URL in Content Module was created by Thomas Thrane
Hi

Let's see if I'm able to describe my problem/issue with a K2 Content Module - maybe it's a bug.
Due to other issues, I was told to try K2 v2.10.0 [Dev Build 20190519] in another thread. Just so you know the version.
Joomla is updated to latest version.

The site has 2 languages, danish and english.
I have made a category with departments of the firm - language set to ALL.
All departments in there are set to language = ALL.

I have then used a K2 Content Module to place these departments at the bottom here:
www.sawo.dk/da/kontakt and here www.sawo.dk/en/contact.

But on www.sawo.dk/da/kontakt the links are wrong - they link to www.sawo.dk/da/contact/norresundby where it should be www.sawo.dk/da/kontakt/norresundby

On www.sawo.dk/en/contact the links are correct.

How can I fix this?
All departments has their own link in the mainmenu.

Kind regards
Thomas

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

More
4 years 10 months ago #172378 by JoomlaWorks
Replied by JoomlaWorks on topic Wrong URL in Content Module
Have you made sure all menu items, modules, categories, items etc. are all correctly marked with each language?

Cause the K2 URL router will only filter menu items in the active language or all, it cannot "see" menu items from another language if they are properly set to that other language.

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

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

  • Thomas Thrane
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
4 years 10 months ago #172387 by Thomas Thrane
Replied by Thomas Thrane on topic Wrong URL in Content Module
Hi

Just checked.
All danish menu items for departments/contact are set to DANISH
All english menu items for departments/contact are set to ENGLISH

Department category and items are set to ALL

K2 Content Module for the danish part is set to DANISH
K2 Content Module for the english part is set to ENGLISH

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

More
4 years 10 months ago #172391 by JoomlaWorks
Replied by JoomlaWorks on topic Wrong URL in Content Module
Now try switching categories to their respective language.

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

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

  • Thomas Thrane
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
4 years 10 months ago #172394 by Thomas Thrane
Replied by Thomas Thrane on topic Wrong URL in Content Module
Thanks ...

Switched Department category to DANISH and checked www.sawo.dk/da/kontakt - links are still: www.sawo.dk/da/contact/norresundby and not www.sawo.dk/da/kontakt/norresundby

Switched to English, result as it should be, like in the first post.

Switched back to ALL and checked www.sawo.dk/da/kontakt - links are still: www.sawo.dk/da/contact/norresundby and not www.sawo.dk/da/kontakt/norresundby

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

More
4 years 10 months ago #172396 by JoomlaWorks
Replied by JoomlaWorks on topic Wrong URL in Content Module
Did you make sure you weren't seeing any cached pages when you did the changes? Again, the K2 URL router is very strict and it would never fetch e.g. the English URL for content while Danish id the active language.

Are you perhaps using any SEF extensions like sh404SEF?

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

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

  • Thomas Thrane
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
4 years 10 months ago - 4 years 10 months ago #172418 by Thomas Thrane
Replied by Thomas Thrane on topic Wrong URL in Content Module
I had sh404SEF installed, but no activated.
Has been removed now ...

But now it's the other way around:
Links on www.sawo.dk/da/kontakt are fine, but not on www.sawo.dk/en/contact
Last edit: 4 years 10 months ago by Thomas Thrane.

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

More
4 years 9 months ago #172421 by JoomlaWorks
Replied by JoomlaWorks on topic Wrong URL in Content Module
Complete the language assignments just in case (for categories etc.) and clear your cache, then check again.

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

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

  • Thomas Thrane
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
4 years 9 months ago #172564 by Thomas Thrane
Replied by Thomas Thrane on topic Wrong URL in Content Module
Hi
Not sure what you mean by this?

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

More
4 years 8 months ago #172614 by JoomlaWorks
Replied by JoomlaWorks on topic Wrong URL in Content Module
Each menu item, category, module etc. must first be assigned to the proper language.

Fotis / 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