Support » Plugin: MultilingualPress » How to redirect the homepage to the primary language startpage???

  • Resolved stefacht


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

    I have created for the German version and 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 if you open

    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', '' );
    define( 'PATH_CURRENT_SITE', '/de/' );
    define( 'SITE_ID_CURRENT_SITE', 2 );
    define( 'BLOG_ID_CURRENT_SITE', 2 );

    Please help me!

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

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

    Plugin Author Robert Windisch


    Hi stefacht,

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


    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?


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.