Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter KatarinaN

    (@katarinan)

    You were right. I contacted our provider and they solved it. There was an issue with our IP address. Server did not recognize it´s origin, so it denied us…
    Thank you very much for your time and support.

    Thread Starter KatarinaN

    (@katarinan)

    .htaccess in the www_root:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Before re-downloading of WP (according to your advice above), there was .htaccess file also in the www_root/blog:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    # END WordPress
    I have tryied to copy this file from backup in the www_root/blog, however the issue persists. So I deleted it and there is no .htaccess file in the www_root/blog currently.

    Thread Starter KatarinaN

    (@katarinan)

    adfrw (0664)

    Thread Starter KatarinaN

    (@katarinan)

    I did it, however the issue persists … any other idea? Thanks in advance.

    Thread Starter KatarinaN

    (@katarinan)

    Beta version installed according to your direction. Some changes occured:

    – when I switch among EN menu items, all links are correct except link to my blog. It redirects to http://www.mnovakphoto.com/blog/en/ (error 404). As you can see above, it was http://www.mnokaphoto.com/en/blog/en/ before.

    – new issue is, when I switch language from SK blog (http://www.mnovakphoto.com/blog/) to EN it redirects to http://www.mnovakphoto.com/blog/en/ = error 404

    Thread Starter KatarinaN

    (@katarinan)

    Changes in .htaccess files done, however issue persist …

    Thread Starter KatarinaN

    (@katarinan)

    URL – http://www.mnovakphoto.com/
    WP is installed in subfolder – http://www.mnovakphoto.com/blog/

    .htaccess in the www_root:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    index.php in the www_root:

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

    .htaccess in the www_root/blog:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    # END WordPress

    index.php in the www_root/blog:

    <?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' );

    qTranslate-X settings:
    – default language = Slovak
    – Show displayed language prefix when content is … checked
    – Use Pre-Path Mode … checked
    – Hide URL of default language … checked

Viewing 7 replies - 1 through 7 (of 7 total)