• Resolved Milanzemunac

    (@milanzemunac)


    Hello,

    I have WP multisite with 4 subdomains:
    1. website.com/ (website in german)
    2. website.com/en (website in english)
    3. website.com/ru (website in rusian)
    4. website.com/fr (website in french)

    One of my admins changed something and since than when I go to dashboard in english version I get german versions (although url is ok – website.com/en). All posts and pages are from german version of the website (website.com/). German version is working just fine, Russian and French to, I just have problems with English version.

    I opened my database and I have 4 wp_posts tables:
    1. wp_posts
    2. wp_2_posts
    3. wp_3_posts
    4. wp_4_posts

    In wp_2_posts I can see correct english posts, but they are missing in my dashboard – and I see articles from wp_posts in my english dashboard.

    When I open wp_2_options it’s showing correct siteurl (website.com/en)

    My htaccess is:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [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]

    Anyone have any idea how to fix this?

    Thanks,
    Milan

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with posts and database’ is closed to new replies.