Viewing 15 replies - 31 through 45 (of 57 total)
  • Plugin Author Gunu

    (@grafcom)

    change last line in this
    require( dirname( __FILE__ ) . '/blog/wp-blog-header.php' );

    also another dot on another place ??

    Plugin Author Gunu

    (@grafcom)

    yes, ‘<?php’ is needed!

    Thread Starter sottise

    (@sottise)

    ok, I’ve replaced the last line, and replaced the file on root (and keeped the <?php…
    fingers crossed?

    Plugin Author Gunu

    (@grafcom)

    Not Found
    The requested URL /en/ was not found on this server.

    For now let alone the index.php in the root.

    Remove the folder qTranslate-X with FTP and login.

    Check settings – General –
    Wordpress adress URL: popandsoda.com/blog
    and Site adress URL: popandsoda.com

    Permalinks on post-name even if that is so, save settings again.

    Give a hint I look here if it works correct so far.

    Plugin Author Gunu

    (@grafcom)

    See also if the index.php in the folder blog is the same as in root.

    Apart From: /blog/wp-blog-header.php this must be there /wp-blog-header.php

    Thread Starter sottise

    (@sottise)

    ok.

    – removed the folder qTranslate-X
    – General settings adress URL are ok
    – Permalinks on post-name
    (not personalized : “…/%postname%/” right?

    Plugin Author Gunu

    (@grafcom)

    no, try Post name not Custom Structure /%postname%/

    Thread Starter sottise

    (@sottise)

    the index.php under /blog/ contains :

    <?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__ ) . '/wp-blog-header.php' );

    (and I kept the .htaccess file)

    Thread Starter sottise

    (@sottise)

    no, try Post name not Custom Structure /%postname%/

    Postname is checked

    Plugin Author Gunu

    (@grafcom)

    Works here:

    popandsoda.com shows site without addition /blog
    Also login screen works.

    Now install qTranslate X again.

    Settings – Languages – General Settings
    Select languages Default Language / Order select

    Advanced Settings
    check Use Pre-Path Mode (Default, puts /en/ in front of URL). SEO friendly.
    check Hide URL language information for default language.

    And see what happens. let me know.

    Success

    sjccjs

    (@sjccjs)

    I also could not log in, same page not found message. In the CPanel file manager I re-named the qtranslate-x plugin, was able to log in, and changed the setting URL Modification Mode to “Use Query Mode (?lang=en). Most SEO unfriendly, not recommended.” Then I corrected the plugin name. Now I can log in again w/o problems, and the plugin works fine.

    Thread Starter sottise

    (@sottise)

    done.
    Can you check?

    Also, I think it was already configured like that, except for the “check Hide URL language information for default language”.
    (But I can’t remember why)

    Thread Starter sottise

    (@sottise)

    oh, btw, the default language is french

    Plugin Author Gunu

    (@grafcom)

    @sottise,

    works great, and via /blog I can approach your login screen.

    Thread Starter sottise

    (@sottise)

    Now I remember why I’ve unchecked the “check Hide URL language information for default language.”, it’s because my button, on the sidebar, “Je parle fran?ais” was not working, and the /en/ language was still displayed :/

    Maybe you have a solution?
    This is the code I’m using:

    <?php if(qtrans_getLanguage()=='fr'): ?>
    <div class="langSWITCHER_EN">
    <a class="languen" href="<?php echo getUrlInTargetLanguage("en"); ?>" >Translate</a>
    </div>
    
    <?php endif; ?>
    
    <?php if(qtrans_getLanguage()=='en'): ?>
    <div class="langSWITCHER_FR">
    <a class="langufr" href="<?php echo getUrlInTargetLanguage("fr"); ?>" >Traduire</a>
    </div>
    
    <?php endif; ?>

    Sorry if I bother you :/

Viewing 15 replies - 31 through 45 (of 57 total)
  • The topic ‘Can't access to the admin anymore’ is closed to new replies.