WordPress.org

Ready to get started?Download WordPress

Forums

Is multisite a good option for 2 language web site? (4 posts)

  1. Tami
    Member
    Posted 1 year ago #

    I had an existing French wordpress site finished and client decided to add an English equivalent. I didn't used multi-language because the content itself will be different on the different pages (i.e. images).

    I thought multisite using subfolders might be quickest/best option but went through the steps and now I get the 404 error message when I try to access either site (french & english). Before I go through all the troubleshooting steps once again. Is there a better way to set this up? I have all the pages built but the biggest challenge is how to have different primary menus for the 2 languages. Will I even be able to select different custom menus for the primary menu on each sub-site?

  2. Did you update your .htaccess?

    Can you get into the WP admin side of your sites?

  3. Tami
    Member
    Posted 1 year ago #

    Yes, this is the current .htaccess

    # BEGIN WordPress
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    # END WordPress

    I can access the network admin but I get the 404 message when I try to access the dashboard of either sub-sites.

    I should reiterate this was a functioning wp site when it was only one language and then I attempted to set up the multisite. I didn't do a fresh install but have followed the steps to activate multisite. Should I have deleted everything and started from scratch??

  4. You have a couple double slashes in there \\ which should just be onE slash

    How'd that happen?

Topic Closed

This topic has been closed to new replies.

About this Topic