• Resolved gs_s

    (@gs_s)


    Hello,

    I’ve installed WordPress and played with it for a while. And I got a question how I can make a top page which let visitors to choose their languages.

    Let’s say there ware two languages for a website, English and Japanese. When a visitor opens the domain root(https://example.com), a selection page appears. If English is clicked, it redirects to the page “https://example.com/en”, which has been created by WordPress’s page feature(permalink). If it is Japanese, it goes to “https://example.com/jp.”

    First I thought just editing the index.php like,

    <html>
    <head>
    </head>
    <body>
    <a target="" href="https://example.com/en">English</a><br>
    <a target="" href="https://example.com/jp">Japanese</a><br>
    </body>
    </html>

    but of course, WordPress won’t be loaded. I thought creating dummy directories like /public_html/en, /public_html/jp and redirect to WordPress by .htaccess. But then if it redirects to index.php, it just loops.

    I have no clues at this point. Is there a workaround? Or maybe does a plugin already exist? By the way I’m aware that installing two WordPress would do it but I like to have simple control to magage a site.

Viewing 1 replies (of 1 total)
  • Thread Starter gs_s

    (@gs_s)

    I could resolve this issue by creating a static page via Settings -> General -> Reading -> Front page displays

Viewing 1 replies (of 1 total)
  • The topic ‘Language Selection Page on the Domein Root and Redirects’ is closed to new replies.