jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Author Topic: sh404SEF 4.4 and jDiction 1.1  (Read 8391 times)

nkt

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Flantic
sh404SEF 4.4 and jDiction 1.1
« on: April 27, 2014, 10:26:33 pm »

Hi all,

I want to combine sh404sef 4.4 with jDiction 1.1. When I use the Joomla build-in SEF functionality, everything works fine. However when I activate URL optimatisation, the website works great for the basic/native language. However for the second language it gives an 404 (component not found) for every page, including the home page.

The language filter plugin is activated and has the following settings:
-Automatic language adjustment -> NO
-Menu coupling -> YES
-Remove URL language code -> YES
-Lifetime cookie -> Year
-Add alternative meta tags -> NO

Joomla 2.5 settings:
-Search Engine Friendly URLs -> YES
-Use rewrite URL -> YES

I also tried to set for every language a default/home page, however that also didn't work.

I know this is more a question for the sh404sef forum, however I would love to know if someone has experience with sh404SEF and jDiction.

Greetings Nick
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1684
    • View Profile
Re: sh404SEF 4.4 and jDiction 1.1
« Reply #1 on: April 27, 2014, 10:41:23 pm »

sh404SEF makes deep changes in the url handling that maybe interference with jdictions changing of the language aliases.

If you don't use the alias field in the menu, is it working then? And would you please upgrade to the latest version 1.1.9.1 found at http://jdiction.org/en/downloads
Logged
Joomla! 5.0 Release Manager
Vote at JED

nkt

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Flantic
Re: sh404SEF 4.4 and jDiction 1.1
« Reply #2 on: April 27, 2014, 11:45:52 pm »

Hi Harald,

Thanks for your fast reply! I removed all the menu aliases and upgraded to the latest version, however I still get an 404 (component not found).

Do you have an other idea?
Logged

nkt

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Flantic
Re: sh404SEF 4.4 and jDiction 1.1
« Reply #3 on: April 28, 2014, 02:27:41 pm »

OK I discovered that if I disable the plugin "System - jDiction multilanguage package" the website works fine and sh404sef generates all its URL's. If I here after enable the plugin again the website is being translated except for the URLs.

Unfortunately I can't deliver such a system, but I hope it helps finding a good solution!
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1684
    • View Profile
Re: sh404SEF 4.4 and jDiction 1.1
« Reply #4 on: April 28, 2014, 03:48:53 pm »

I will look at it, in the mean time you can try to disable url translation in the code.

Got to /plugins/system/jdiction/jdiction.php on line 63 and 66 and comment these 2 lines out (with //)

and try if it works then.
Logged
Joomla! 5.0 Release Manager
Vote at JED

nkt

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Flantic
Re: sh404SEF 4.4 and jDiction 1.1
« Reply #5 on: April 29, 2014, 01:29:36 pm »

OK, I solved the problem and it works totally fine now. I changed a lot of stuff, but the main reason was that I didn't had a non-SEF url to the English part of the website. So there was a link on my homepage linking to SITE_URL/en, but not to SITE_URL/index.php?lang=en. After cleaning the created URL's, I first need to load SITE_URL where after I can load the English part of the website. Strange enough this didn't gave problems when I didn't use jDiction.

Conclusion sh404SEF and jDiction 1.1.9.1 work fine with each other.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1684
    • View Profile
Re: sh404SEF 4.4 and jDiction 1.1
« Reply #6 on: April 29, 2014, 04:32:33 pm »

thx good to know!
Logged
Joomla! 5.0 Release Manager
Vote at JED