• Resolved stefacht

    (@stefacht)


    Hi,
    I need your help, it’s very urgent as I try to launch the website at the moment:

    I have created http://www.mydomain.com/de for the German version and http://www.mydomain.com/en for the English version. They have ID 2 and 3.
    ID 1 I left as it was and deactivated it.
    But now I want to show http://www.mydomain.com/de if you open http://www.mydomain.com.

    How can I achieve that?
    How to configure wp-config.php correctly?
    If I change PATH_CURRENT_SITE from / to /de/ it works first, but afterwards my links to the /en pages don’t work any more.

    /* enable multisite */
    define('WP_ALLOW_MULTISITE', true);
    
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'www.gussenbauer.at' );
    define( 'PATH_CURRENT_SITE', '/de/' );
    define( 'SITE_ID_CURRENT_SITE', 2 );
    define( 'BLOG_ID_CURRENT_SITE', 2 );

    Please help me!
    stef

    http://wordpress.org/extend/plugins/multilingual-press/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter stefacht

    (@stefacht)

    Ok, I managed the redirect by
    1) leaving the path as it was originally:
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    and 2) adding the following line to my .htaccess:
    Redirect /index.html http://www.mydomain.com/de/

    Now it works.
    But the 404 error page for wrong URLs outside /de or /en are still a problem, e.g. http://www.mydomain.com/xyz shows an error page in default wordpress layout…

    Plugin Author Robert Windisch

    (@nullbyte)

    Hi stefacht,

    you should add an theme to the blog 1 which will redirect all requests to the german blog.

    regards,
    Robert

    Thread Starter stefacht

    (@stefacht)

    Hi Robert (and everyone else reading this),

    I’m again having troubles with this issue.
    Seems that my permanent redirect solution in the .htaccess file is not a good solution from the SEO point of view. (Google Webmaster Tools shows a problem because I’m redirecting within the same domain.)

    Robert, could you please explain more detailed what you mean by that answer? How should that special theme be made?

    Is there no built-in solution for that problem in multilingual press?

    Regards
    Stef

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to redirect the homepage to the primary language startpage???’ is closed to new replies.