Bug in qtranxf_wp_head() #198
Labels
bug
Something isn't working, reproducible
core
Core functionalities, including the admin section
legacy issue
Legacy issue imported from original repo
Issue by nb000
Wednesday Jul 15, 2015 at 14:33 GMT
Originally opened as qTranslate-Team/qtranslate-x#198
Hi there!
I am writing about version qTranslate-X 3.4.1.
In the function
qtranxf_wp_head()
where the meta tags are generated, you add the alternate language link tags. To this you call theqtranxf_convertURL(...)
function.As the last parameter is true, there could be URLs generated, which do not exists.
For example:
domain = example.com
active languages: hu, de, en
default language = hu
hide default language code from URL is set to true
On the URL http://example.com/de/somepageslug the following links are generated:
Here the first URL is invalid.
I think, the function should be called without the last parameter.
The text was updated successfully, but these errors were encountered: