Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with smartblog and language switch #29

Open
renzorucco opened this issue Dec 17, 2015 · 4 comments
Open

Problem with smartblog and language switch #29

renzorucco opened this issue Dec 17, 2015 · 4 comments
Labels

Comments

@renzorucco
Copy link

I am creating a site with two languages.

I installed the module that manages the horizontal menu (named responsive mega menu pro). I configured the buttons in the two languages (Italian and English). The menu has configured link system (cms, products etc) and external links that point to a smartblog pages. Selecting the language at the homepage and navigating content there is no problem but if you pick a voice of an external link to a page of the blog and try to change language staying on the same page, select for example English button, gime me a strange link that returns a 404 error.

The link goes from www.dominio.it/it/blog/category/1_ricette.html
(Page with the Italian language selected)

to www.dominio.it/en/1-radice (trying to choose English)

The strange thing is that if I type the url www.dominio.it/en/blog/category/1_ricette.html the page is properly displayed in English.

What could be the problem?

@SharakPL
Copy link

I can confirm this bug :(
I'd say the problem is that although posts can be set in all available languages, the smartblog module configuration can be set only in default language, so you can set title, description and rewrite_url in italian (your default?) but can't in english. There's no proper rewrite configuration for this lang but rewriting is still enabled and that's causing errors. If you turn of rewriting in your store preferences and use default url (can be accessed from smartblog configuration page) everything seams to work fine.
I hope the author of smartblog will check on that...

@TiaNex-Com
Copy link

@Mijsoot
Copy link

Mijsoot commented Jun 29, 2018

I confirm the bug, and the iTiaNex URL does not fix the problem...
There's another problem. When you are in the content of a page, example: https://www.olivos-savons.com/en/actualite-savon-huile-olive/9_olive-oil-soap-virtues.html, the link to translations is not done with URL rewriting: https://www.olivos-savons.com/en/module/smartblog/details?id_post=9.

This creates 2 pages and therefore a duplicate content for Google... (Be careful if you do a test on the URLs quoted because I put a 301 redirect to avoid duplicate content) ...

Thanks in advance for any help !!!

@Enumbin Enumbin pinned this issue Feb 2, 2021
@Enumbin Enumbin added the bug label Feb 2, 2021
@Enumbin Enumbin unpinned this issue Feb 2, 2021
@apavlinets
Copy link

apavlinets commented Jun 19, 2022

On version 1.7.8.3 please check not only on posts but also on post categories

...rel="alternate"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants