TransWikia.com

qTranslate remove default directory from link

WordPress Development Asked by ilushoni on January 4, 2022

/ru – default directory, how can I remove it

this link: https://cambridge.ua/ru/teachers/
should be: https://cambridge.ua/teachers/

<ul class="language-chooser language-chooser-text 
qtranxs_language_chooser" id="qtranslate-chooser">
    <li class="lang-ru active"><a href="https://cambridge.ua/ru/teachers/" 
hreflang="ru" title="RU (ru)" class="qtranxs_text qtranxs_text_ru">
<span>RU</span></a></li>
    <li class="lang-en"><a href="https://cambridge.ua/en/teachers/" 
hreflang="en" title="EN (en)" class="qtranxs_text qtranxs_text_en">
<span>EN</span></a></li>
    <li class="lang-uk"><a href="https://cambridge.ua/uk/teachers/" 
hreflang="uk" title="UK (uk)" class="qtranxs_text qtranxs_text_uk">
<span>UK</span></a></li>
</ul>
<div class="qtranxs_widget_end"></div> 

One Answer

Go to general plugin's options - /wp-admin/options-general.php?page=qtranslate-x#general and in section "URL Modification Mode" choose "Pre-Path Mode" and then also check "Hide URL language information for default language" - like this:

enter image description here

Answered by Picard on January 4, 2022

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP