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:
should be:

<ul class="language-chooser language-chooser-text 
qtranxs_language_chooser" id="qtranslate-chooser">
    <li class="lang-ru active"><a href="" 
hreflang="ru" title="RU (ru)" class="qtranxs_text qtranxs_text_ru">
    <li class="lang-en"><a href="" 
hreflang="en" title="EN (en)" class="qtranxs_text qtranxs_text_en">
    <li class="lang-uk"><a href="" 
hreflang="uk" title="UK (uk)" class="qtranxs_text qtranxs_text_uk">
<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!

Related Questions

How can I noindex my archive pages?

1  Asked on November 26, 2021 by summer-pratt


admin-ajax error 400

0  Asked on November 26, 2021 by daniel-nebert


Bulk update custom post types

1  Asked on November 26, 2021 by samm-foolt


Upload avatar for post comment

1  Asked on November 26, 2021 by divyang


Non-blocking file_put_contents in function.php

2  Asked on November 26, 2021 by mustafa


Image problem – Multisite image upload broken

1  Asked on November 23, 2021 by prakhar-monga


Where is the htaccess in hosting?

1  Asked on November 23, 2021 by user2007920


How do you approach block structured content?

1  Asked on November 23, 2021 by kevin-all


Google Fonts not loading correctly

1  Asked on November 23, 2021 by octavialo


wp_redirect() function is not working

8  Asked on November 21, 2021 by sans780730


How to search only by post title and category?

1  Asked on November 21, 2021 by carl-jue-nier


Custom form validation

1  Asked on November 21, 2021 by alexander-holsgrove


Ask a Question

Get help from others!

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