• Home
  • Get help
  • Ask a question
Last post 2 hours 10 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67891
All time tickets 10494
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#1453 – hreflanf links messed up by sh404sef

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 27 November 2015 10:52 UTC
wdburgdorf
Hi,

I just switched on hreflang on a site and found that the links are wrong when sh404sef is enabled.

sh404sef off:
<link rel="alternate" href="http://www.xxxx.ch/de/products" hreflang="de-DE" />
<link rel="alternate" href="http://www.xxxx.ch/products" hreflang="en-GB" />

-> this is correct.

sh404sef on:
<link rel="alternate" href="http://www.xxxx.ch/e/products" hreflang="de-DE" />
<link rel="alternate" href="http://www.xxxx.ch/ttp://www.xxxx.ch/products" hreflang="en-GB" />

I use Falang for translations.

any idea how to fix this? Thanks!

Regards, Ralf.
Friday, 27 November 2015 10:54 UTC
wb_weeblr
Hi

As stated in the sh404SEF requirements, Falang or any similar extension is not compatible with sh404SEF.

Is this the only problem you're facing?

Rgds
 
Saturday, 28 November 2015 11:06 UTC
wdburgdorf
Hi,

I know there are compatibility issues with Falang, but I was not sure if this is one of them. Falang got a lot better recently. And unfortunately there is currently no way around it. If there was an easy way of switching to Josetta, I'd try it, but I cannot spend days of work just to find out if the client likes it or not ...

Anyway, there are other issues with sh404sef/Falang (mainly the language switcher), but we found workarounds. Only for hreflang, I have no idea yet why the URLs are messed up in this way and how to work around that.
I hoped you might have an idea. (And I'm still hoping you come to terms with Faboba someday and get sh404sef and Falang to work together better 8-)

Regards, Ralf.
Monday, 30 November 2015 15:03 UTC
wb_weeblr
Hi

I know there are compatibility issues with Falang, but I was not sure if this is one of them.
Anything can be a problem, as we basically never really know (with Falang) what language we're using - because sh404SEF ML support was built entirely for Joomla.

And unfortunately there is currently no way around it.
Most people are happy with the Joomla ML system? Agree that it depends a lot on the content creation/translation workflow.

I've looked again at the actual problem you explained:
<link rel="alternate" href="http://www.xxxx.ch/e/products" hreflang="de-DE" />

<link rel="alternate" href="http://www.xxxx.ch/ttp://www.xxxx.ch/products" hreflang="en-GB" />
and that doesn't look to me like a problem with Falang. I would say the URL are calculated all right, but there is a problem with inserting the tags in the page.

I think I've seen something like this happening for one user. It's caused by a conflict with another extension. I can't tell you which one, but I can suggest the following: try disabling one by one your system plugins (and if that fails, your content plugins).
Be careful when disabling system plugins, better do it on a copy of the site, or be able to enable them back from the database directly.

I can investigate further, but that would require you providing us with an akeeba backup of the site, to install on our local machine, to be able to step by step through Joomla PHP code to see why this is happening, so better try the simple thing first.

Rgds


 
Monday, 30 November 2015 15:39 UTC
wdburgdorf
Hello,

Thanks for your thoughts. I can easily provide you with a backup file. But I don't expect you to invest a lot of work into a problem that is specific to one plugin in my site. So unless you really want that file, I'll try myself on a backup installation.

"No way around Falang" - this is for this client, because it would be too much work (probably unpaid, especially if it fails) to switch. Otherwise, there are options, of course. The standard Joomla ML I find too complicated. Too complicated for most clients to learn. Falang on the other hand everyone understands immediately (i.e. after < 5min training). I'll be happy to try Josetta in the future especially because it seems a little less intrusive than Falang ...

Regards, Ralf.
Monday, 30 November 2015 16:58 UTC
wb_weeblr
Hi

Well Josetta is not intrusive, it's only a data entry tool, it's not used at all for frontend rendering. It has a focused scope (joomla content and limited support for K2), so it doesn't play in the same category.
The nice thing about it is that's it's designed for frontend, so you don't need to give translators access to the backend.
The other thing is that you cannot create content. it's a translation-only tool.

So it's focused on one task only. If that suits you needs, it can be worth a try. There's also another extension similar to Josetta: KM Fastrans you might want to try.

Back to the error, yes, first step is to try on your backup. If you don't find anything (but can reproduce - sometimes, moving to another server is enough to solve the problem - PHP versions, PHP settings,...), then I can have a look.

Rgds
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.