Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    How did you previously add the parameter to the URL in the old plugins? This feature was not available in the past either. We had an add-on that handled this, but it is not recommended: https://translatepress.com/docs/addons/language-get-parameter/.
    It should only be used if the client does not use pretty permalinks, which I believe is not your case. In all other situations, this add-on is not advisable, as it was experimental.

    Kind Regards,

    Thread Starter tweedledi

    (@tweedledi)

    @alexcozmoslabs thanks for your reply! The thing is that someone else did the old website and I am inheriting the results. I don’t really know how they did it but the facts are here. As I said the version is old and it is working in some strange manner, but the URLs are unchanged by the translation plugin and the website is using permalinks for the subpages(www.website.com/about/ or website.com/contacts/). I have played with the setting you suggested, but still the language slug is added.

    Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    If you are using pretty permalinks, there is no sense to have the /?lang=bg, /?lang=en structures. You just let the plugin set the virtual subdirectory for additional language, example.com/bg/. You can also allow this for default language by enabling the Use subdirectory for default language option in TP Settings –> General tab.

    Thread Starter tweedledi

    (@tweedledi)

    @alexcozmoslabs yes, i have tried the settings and played with it. But the desired result is to not have /bg/ or /en/ in the URL and keep the same URL structure as the old website, which means single URL for each page, with the variable at the end to set the language – /?lang=bg and /?lang=en . I am aware this is not logical, bad for SEO and so on but this is the case. How would you advise me to achieve this?

    Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    The suggested plugin/addon, https://translatepress.com/docs/addons/language-get-parameter/, needs to be installed and acitvated only. After its activation, it automatically adds language subdirectories in /?lang=bg, /?lang=en way.

    Thread Starter tweedledi

    (@tweedledi)

    @alexcozmoslabs Thanks for your time! I will give it a try tomorrow and get back to you.

    Thread Starter tweedledi

    (@tweedledi)

    @alexcozmoslabs just tested, it seems to do what I needed. Thank you, I owe you at least a beer!

    Plugin Support Alex

    (@alexcozmoslabs)

    You’re very welcome! 🍻 I’m glad it worked.

    Also, if you are using our product and interacting with our support, will it be too much to ask for you to leave a review on WordPress.org? Just a sentence or two would be greatly appreciated.

    Kind Regards,

    Thread Starter tweedledi

    (@tweedledi)

    Done! Thanks again!

    Plugin Support Alex

    (@alexcozmoslabs)


    Thank you so much for your review! Appreciate it.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.