Jump to content
  • 0

change language via GET and POST requests?


cluster

Question

9 answers to this question

Recommended Posts

  • 0

I have been using a multilingual whmcs installation (4 languages) for about 10 years, how can I integrate the languages into the Blesta frontend?
Do I need to buy the Besta CMS for this or how can I integrate a language switcher in the Blesta frontend?

### edit ###

oh, sorry for my impatience ?
it seems to work with the BlestaCMS when I add the languages there ...
I will pay more attention on it so I can get it work for my needs

### edit ###

not really ... it works for own content pages only

 

Link to comment
Share on other sites

  • 0

I will try to explain better ...
the language switcher does not change the URL which cause penalizing by google ranking due to "duplicate content w/ the same URL"
so the point here is to solve an SEO problem (duplicate content)
the URL should look like this after switch to another language:
default language:
https://www.mydomain.tld/
FR should be:
https://www.mydomain.tld/fr/
NL should be:
https://www.mydomain.tld/nl/
or
https://www.mydomain.tld/fr/plugin/support_manager/knowledgebase/
https://www.mydomain.tld/nl/plugin/support_manager/knowledgebase/

that would be feasible via a mod_rewrite rule but only if the language switcher shows the string, i.e. changing the language with a GET string ...

is there a possibility to use a function in structure.pdt that adds an iso code (fr) to the redirect_uri?

for example ... if language french was selected

<input type="hidden" name="redirect_uri" value="/fr/" />
<input type="hidden" name="redirect_uri" value="/fr/plugin/support_manager/knowledgebase/" />

the BlestaCMS plugin is working properly it appends the iso code of the language to the url but Blesta always shows the default URL after switching the language.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...