Languages URLs not correct

More
8 months 2 weeks ago - 8 months 4 days ago #86126 by lipatovroman
Hello.
As I already wrote, FC from master branch have big problems with multilingual sites.
This is how looks languages module with latest FC 4.2.1 (it's ok):


Aтв this is how looks the same module with FC from master branch:



All URLs have current language prefix.
Last edit: 8 months 4 days ago by lipatovroman.

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

More
8 months 2 weeks ago - 8 months 2 weeks ago #86128 by micker
Replied by micker on topic Languages URLs not correct
hello
this demo site with last master update (today) + joomla 5.3.1 doesn't have your problem
flexidemo.com3elles.com/jobboard/demoj4/...offers/gardener.html you can switch to any language without problem url is good

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]
Last edit: 8 months 2 weeks ago by micker.

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

More
8 months 2 weeks ago #86129 by lipatovroman
I have Joomla 5.3.1
Updated to FC from master branch - same problem.
Which FC file is responsible for generating these URLs?
I'll try to fix it.

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

More
8 months 2 weeks ago - 8 months 2 weeks ago #86130 by micker
Replied by micker on topic Languages URLs not correct
as i say that works out of box, maybe a plugin problem ? SEF rules ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]
Last edit: 8 months 2 weeks ago by micker.

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

More
8 months 2 weeks ago - 8 months 2 weeks ago #86133 by lipatovroman
This occurs on two different multilingual websites (J4 and J5). It only occurs when FlexiContent item view. There are no issues with menu items.
Last edit: 8 months 2 weeks ago by lipatovroman.

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

More
8 months 2 weeks ago #86136 by micker
Replied by micker on topic Languages URLs not correct
maybe but you need to find the difference between your site and demo site
the demo site is a pure joomla + building translation syteme + last flexicontent, no plugins no extension and that works

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
8 months 5 days ago #86148 by lipatovroman
This is all very strange. I can't figure out the cause of the problem.
I disabled ALL modules and plugins on the problematic site, but it didn't help.
I copied the router.php file from FC version 4.2.1, and the site stopped working.
I installed a clean Joomla 5 and FlexiContent master, and everything works.
I copied the entire folders from the problematic site to a clean Joomla and FC master, which is essentially a downgrade:
/administrator/components/com_flexicontent
/components/com_flexicontent
/plugins/flexicontent
/plugins/flexicontent_fields
Thus, the clean site with Joomla 5.3.1 and FC Master now has files from FC 4.2.1. Everything works fine.
I spent several hours on this.
But when I updated the site to the FC Master version, the problem recurred!!!
Then I restored the files from the Master version, and the problem reappeared.
Next, I used the Joomla installer to install version 4.2.1.
The URLs are correct.
Finally, I used the Joomla installer to install the Master version.
The problem reappeared.
Conclusion:
1. When we install a clean Joomla and FC Master, there are no problems.
2. When we update the existing FC 4.2.1 to the Master version, there is a problem.
3. When we simply replace the FC 4.2.1 files with the files from the Master version via FTP, there is no problem.

And the final confirmation that the problem is not in the settings, third-party plugins, modules, or extensions.

I performed a clean installation of Joomla 5.3.1 and FC 4.2.1 again.
I created 3 site languages, menu items, and one article in three languages.
Everything works fine.

Now I am updating FC to the Master version.
And now all alternative links have the current language prefix.
Please note that this is a completely clean installation of Joomla and FC, without any third-party extensions.
The problem only occurs when updating from FC 4.2.1 to the Master version.
Probably, during the update, some files are not updated and remain from the old version.

Watch the video to see how this happens: directory.audio/images/monopics/2025-06-25_15-05-18.mp4

P.S. Hmmm... I think I found something.
You showed me that everything is fine on your demo - flexidemo.com3elles.com/jobboard/demoj4/...offers/gardener.html

Go to the System - Language Filter plugin settings and enable the Remove URL Language Code option. This will remove the default language prefix and you will see this problem on your website.
 

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

More
8 months 5 days ago #86149 by ggppdk
Replied by ggppdk on topic Languages URLs not correct
I made a commit 5 days ago
See it here:
github.com/FLEXIcontent/flexicontent-cck...f6c28c3082d3e2e982e3

Did you try with master branch after the above commit ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

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

More
8 months 5 days ago - 8 months 5 days ago #86150 by lipatovroman
Hello Georgios.
I just downloaded and installed FC from Master branch.
No results. Did not help. Alternate URLs still use current language prefix and aliases from current item..

BUT!!! I replaced association.php with same file from FC 4.2.1 - and URLs are ok.
So, problem exact in this file.
Last edit: 8 months 5 days ago by lipatovroman.

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

More
8 months 4 days ago #86151 by lipatovroman
Everything is fine. The latest FC Master update solved the problem.
Thank you.

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

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save