• I am really stuck with this and I cannot find the right answer anywhere…

    Problem: I want to create multiple sites for different languages. I created the network, and the new sites but… when I go to the sub sites dashboards they seem to be exactly the same as the main one.
    When I change something in the sub sites it changes in the main site (ex: menu or titles) and when I try to access to the subsites they always redirect to the main site.

    My configuration is an existing site so I don’t want to break it and the subites are subdirectories: domain.eu/en for english, domain.eu/es for spanish etc…
    I must also specify that the main domain has no www, I don’t know if this helps…

    I hope anyone will be able to help because I really don’t know how to solve this.

    Thanks!!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What’s in your .htaccess?

    Thread Starter b-creative

    (@b-creative)

    thank you for answering, in the htaccss file I have exactly what mentioned in the network install:

    # BEGIN WordPress
    
    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]
    
    # END WordPress

    I hope this will help because I have no clue on how to solve this issue and it’s for a client, so quite urgent ??

    Thanks!!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Okay, that looks fine… When you’re changing menus and such, you’re not editing the theme files directly, are you?

    Thread Starter b-creative

    (@b-creative)

    It is a special theme I’m using and so a special navigation menu particularly for this theme.
    When I try to change the menus to have the english title in the subsite they change for the main site as well, so I think it changes everything and in fact I also noticed that on top of the page, where I should have the title of the sub site I’m editing, I only get the main site title (I don’t know if I’m explaining myself right)…

    Thread Starter b-creative

    (@b-creative)

    I also would like to point that I tested everything locally first and I managed to have different sub sites, different menus, different dashboards etc… so I don’t see why I can’t get this on their site

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It is a special theme I’m using and so a special navigation menu particularly for this theme.

    So I have to ask, can you reproduce this on the TwentyFourteen theme?

    Also since it’s working locally, are there major differences between your dev environtment and your live server?

    Thread Starter b-creative

    (@b-creative)

    Exactly the same behavior when I change to TwentyFourteen. I actually just tried to change the /en site and it changed all sites to twentyFourteen.

    I don’t know how to check for differences, I did the same steps to have multiple sites in both environments…

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Check versions of PHP for starters.

    Thread Starter b-creative

    (@b-creative)

    I don’t really know what this means, but here is what I could see in php My Admin: Version of server: 5.5.37-0+wheezy1-log – (Debian)
    Version of database: libmysql – 5.5.37
    PHPMyAdmin: Version : 4.2.10.1

    … I’m afraid I’m lost in this field…

    Thanks for your help!

    Thread Starter b-creative

    (@b-creative)

    I still could not solve the problem, but I have a doubt…

    The wordpress install is not really at the root of the server. Here is the path I have to go to to find the wordpress install and all the files:

    /var/www/domain.eu/htdocs

    maybe my problem is linked to this?
    I’m really stuck and I have no clue how to solve this and what to say to my client..

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Thread Starter b-creative

    (@b-creative)

    ok, I did that, but what should I check in it… it’s really looooooong ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘subsites redirect to main site and dashboards are not independent’ is closed to new replies.