Viewing 15 replies - 16 through 30 (of 35 total)
  • @gunu

    With an htaccess file at the root, following this technique here

    Plugin Author Gunu

    (@grafcom)

    @francoisromain,

    temporarily remove file htaccess

    Make a PHP file (named index.php) with the following code:

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . '/subfolder/wp-blog-header.php' );

    make sure your site works, then go to subfolder/wp-admin

    @gunu

    Is this file made to temporarily access the admin pages?

    ? If yes,
    I did it another way already: I desactivated q-translate-x via FTP, then I could login and re-activate the plugin. While I am logged in, it’s possible to use the admin.

    but the login problem happens again if “Hide URL language information for default language.” is not checked…?

    ? If no,
    I am not sure to understand what I should do with this file…?

    thanks

    Plugin Author Gunu

    (@grafcom)

    ? If no,
    I am not sure to understand what I should do with this file…

    Remove the file htaccess from the root, not the subfolder.

    instead of htaccess put the index.php in the root, not the subfolder.

    Go to your site and see if it works such as, with the htaccess file

    Then go to your_site.com/subfolder/wp-admin

    Ok.

    I just checked and there is already a file like this in the root.

    If I remove the .htaccess form the root,
    – it’s possible to access the admin (/subfolder/wp-login)
    – there is a 404 on the website (/)

    Plugin Author Gunu

    (@grafcom)

    – it’s possible to access the admin (/subfolder/wp-login)

    I do not think with your settings Hide URL language information for default language. not checked…

    You have to use wp-admin.

    @gunu

    I am sorry, I don’t understand what you mean.

    No offense, but i will try to explain the problem again:

    – Until now (before the upgrade to q-translate-x), admin was accessible either on /subfolder/wp-admin or /subfolder/wp-login. This is how the sub-directory install is intended to work.

    – I would like NOT to use the setting “Hide URL language information for default language”, but for now this is the only way to access the admin (if not checked, q-translate-x is making a redirection from /subfolder/wp-admin to /en/subfolder/wp-admin).

    thank you very much for your help

    Plugin Author Gunu

    (@grafcom)

    @francoisromain,

    worked my solution? You do have access via wp-admin in the manner as I described?

    Hide URL language information for default language do not need to be checked

    Removed .htaccess form the root and use the index.php?

    @gunu

    as I told your in my previous message, when I remove the htaccess, admin is accessible, no problem, but the website itself is an error 404…?

    Plugin Author Gunu

    (@grafcom)

    @francoisromain,

    can you give me a link to the website?

    Removed htaccess but used the php file?

    Used the correct name in /subfolder/wp-blog-header.php ?

    send me an email at my name at gmail, please. thnks

    @gunu sorry I missed your message (was in spam). I just answered. thnx

    Plugin Author Gunu

    (@grafcom)

    Latest Beta version has solved this.

    thanks @francoisromain for the assistance.

    Hi , I got problem about language switch . Default language is English . Another is Chinese . Whenever I switch eng to chinese or chinese to english , the url www…..com /zh is forever changed.

    Please help me to solve this ?

    thanks a lot .

    Plugin Author Gunu

    (@grafcom)

    @moon pwint,

    can you give me a link so I can see it?

Viewing 15 replies - 16 through 30 (of 35 total)
  • The topic ‘Repost: Cannot login to admin pages due to prepath language set by qTranslate-x’ is closed to new replies.