• Resolved Maxime

    (@maximefulpin)


    Hi there,

    I’ve just installed a fresh WordPress 4.1.1 and set up the multisite.

    At the moment, I have the mother site on test.domain.fr and a sub-site on test.domain.com managed by the same superadmin

    test.domain.fr : I can access to the frontoffice and backoffice
    test.domain.com : I can access to the frontoffice but not to the backoffice, by any ways.

    To sum up, my issue is I can’t connect to the backoffice of the sub-site. A login page is printed, but impossible to connect with the login/password of the superadmin user and the login/password sent by WordPress when I created the sub-site.

    I have tried to deactivated all plugin (itheme security especially and multisite language switcher) without any positive move.

    I have also tried to delete and re-create the sub-site without any positive move.

    Following the settings:

    NETWORK ADMIN >> SITES:

    Domaine https://test.domain.fr
    Path /

    Domaine https://test.domain.com
    Path /

    NETWORK ADMIN >> SETTINGS:

    Siteurl https://test.domain.fr
    Home https://test.domain.fr

    Siteurl https://test.domain.com/ (With a slash “/)
    Home https://test.domain.com/ (With a slash “/)

    NETWORK ADMIN >> USERS:

    [name-user] – Super-admin [email-user] 2014/12/28
    test.domain.fr Modifier | Afficher
    test.domain.com Modifier | Afficher

    INFORMATIONS from ithemes security:

    User Information
    Public IP Address: IP Adress
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
    File System Information
    Website Root Folder: https://test.domain.fr
    Document Root Path: /path/www3 (## test.domain.fr and test.domain.com are well set up and point on www3)
    .htaccess File is Writable: Yes
    wp-config.php File is Writable: Yes
    Database Information
    MySQL Database Version : 5.1.73-log
    MySQL Client Version: 5.1.73
    Database Host: database.db.1and1.com
    Database Name: [databasename]
    Database User: [databaseuser]
    SQL Mode: Not Set
    Server Information
    Server / Website IP Address: ip adress
    Server Type: Apache
    Operating System: Linux
    Browser Compression Supported: gzip, deflate
    PHP Process User (UID:GID): u52419058 (3260745:600)
    PHP Information
    PHP Version: 5.2.17
    PHP Memory Usage: 26.72 MB
    PHP Memory Limit: 256M
    PHP Max Upload Size: 40M
    PHP Max Post Size: 8M
    PHP Safe Mode: Off
    PHP Allow URL fopen: Off
    PHP Allow URL Include: Off
    PHP Display Errors: On
    PHP Display Startup Errors: Off
    PHP Expose PHP: On
    PHP Register Globals: Off
    PHP Max Script Execution Time: 50000 Seconds
    PHP Magic Quotes GPC: On
    PHP open_basedir: Off
    PHP XML Support: Yes
    PHP IPTC Support: Yes
    PHP Exif Support: Yes ( V1.4 )
    Disabled PHP Functions: (none)
    WordPress Configuration
    Multisite: Multisite is enabled
    WP Permalink Structure: Enabled
    Wp-config Location: /path/www3/wp-config.php
    Active Plugins: wordpress-importer/wordpress-importer.php
    Content Directory: /path/www3/content (##wp-content modified by content)


    Just to let you know:

    On an another website, I succeeded to set up and to use daily the multisite (with only subdomain : https://www.domain.com and fr.domain.com). It is running on a WordPress 3.x

    But I am completely lost at the moment.

    I would appreciate a lot your help and any ideas for solving the issue.

    Is it because I am using 2 different domain names?

    Thanks a lot in advance.

    Cheers,

    Maxime

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

    (@ipstenu)

    ?????? Advisor and Activist

    test.domain.com : I can access to the frontoffice but not to the backoffice, by any ways.

    To sum up, my issue is I can’t connect to the backoffice of the sub-site. A login page is printed, but impossible to connect with the login/password of the superadmin user and the login/password sent by WordPress when I created the sub-site.

    What’s the actual error?

    Does it refresh the page and do nothing? Does it HAVE an error?

    Siteurl https://test.domain.com/ (With a slash “/)
    Home https://test.domain.com/ (With a slash “/)

    So you’re saying that you MANUALLY editing the home and site URLs, rather than use a plugin?

    When you map a domain without a plugin, you have to add some extra code to your wp-config:

    define( 'COOKIE_DOMAIN', $_SERVER[ 'HTTP_HOST' ] );

    https://halfelf.org/2014/mapping-domains-without-plugin/

    Thread Starter Maxime

    (@maximefulpin)

    Hi Mika,

    thank you so much for your reply.

    To clarify some points from my first post :

    MAX
    test.domain.com : I can access to the frontoffice but not to the backoffice, by any ways.

    MIKA
    What’s the actual error?
    Does it refresh the page and do nothing? Does it HAVE an error?

    I meant test.domain.com/wp-admin could not be reached at all : 404 error.

    MAXIME
    Siteurl https://test.domain.com/ (With a slash “/)
    Home https://test.domain.com/ (With a slash “/)

    So you’re saying that you MANUALLY editing the home and site URLs, rather than use a plugin?

    MIKA
    So you’re saying that you MANUALLY editing the home and site URLs, rather than use a plugin?

    I did not configure manually a domain mapping. It was the configuration in multisite admin page : Network admin >> Websites

    MIKA

    When you map a domain without a plugin, you have to add some extra code to your wp-config:

    define( ‘COOKIE_DOMAIN’, $_SERVER[ ‘HTTP_HOST’ ] );

    I have tried to add define( ‘COOKIE_DOMAIN’, $_SERVER[ ‘HTTP_HOST’ ] ); in wp-config.php. Still the same issue.

    I have tried to configure a domain mapping by using WordPress MU Domain Mapping plugin.

    It is well installed and I set up:
    the IP adress of my network (unique adress IP)
    the domain options:
    Domain Options
    1- Remote Login: checked
    2- Permanent redirect (better for your blogger’s pagerank): checked
    3- User domain mapping page: UNchecked
    4- Redirect administration pages to site’s original domain (remote login disabled if this redirect is disabled): checked
    5- Disable primary domain check. Sites will not redirect to one domain name. May cause duplicate content issues: UNchecked

    In Settings >> Domains, I’ve set up test.domain.com as a non-primary sites.

    Currently, test.domain.com/wp-admin can be reached. So the login page is screened, but superadmin’s login/password does not work. The error screened is : “Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress”

    I have done some researches, but I am still at the same point.

    My server is a mutual server (1&1) and I have 2 different sub-domains on 2 different domains.

    I am not web-developer and doing this might be too complicated for me. But I am still motivated to do it for testing everything because pushing the websites online.

    But if I can use a development-version sub-domain, I can work directly on the domain.

    I would wonder if you can me what it is possible ??

    Thanks a lot for your time.

    Cheers,

    Maxime

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I meant test.domain.com/wp-admin could not be reached at all : 404 error.

    Okay, what does that 404 look like? Remember: When we can’t see the errors, you have to be descriptive ?? Is it a generic server error, is it a WordPress theme’d error?

    I did not configure manually a domain mapping. It was the configuration in multisite admin page : Network admin >> Websites

    So “Yes, I manually edited the home and site URLs, rather than use a plugin.” That’s exactly what I asked ??

    but that’s not broken. The 404 is what we need to know about.

    Thread Starter Maxime

    (@maximefulpin)

    Hey Mika,

    thanks for replying.

    Now, my mothersite is online on https://www.domain.fr

    The frontoffice of the sub-site https://www.domain.com is well screened (with a basic wordpress theme :2014 or 2015)

    When I try to access to https://www.domain.com/wp-admin, I am redirected to /not_found but I do not have more information. How can I give you more information?

    I am going to try to set up again the sub-site in Network admin panel and with Domain Mapping plugin.

    Do you have an idea, even a small one?

    Thanks for your time.

    Maxime

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    When I try to access to https://www.domain.com/wp-admin, I am redirected to /not_found but I do not have more information. How can I give you more information?

    That’s closer!

    Being redirected to not_found is not something a part of WordPress! This is good! This means you PROBABLY didn’t add the domain properly on your webhost.

    Ask them how to park or add-on a domain ??

    (The best thing would be to give us the real URLs, but sometimes you can’t. I get it. When you can’t though, you have to tell is specifically what happens, what the page looks like. Take a screenshot sometimes.)

    Thread Starter Maxime

    (@maximefulpin)

    Dear Mika,

    On an another project, I FINALLY succeeded to activate WordPress Multisite.

    Looking back, 1&1 webhost was the matter because you can’t park a domain on their mutual server (I have not asked)

    I do not advise them.

    Thanks a lot Mika for your time and for your support.

    Maxime

    I have the exact same problem as Maxime…Except for the error.

    My main domain is accessible (front and back) but the admin of sub sites ( on different url) cannot be reached.
    As soon as i connect subsite.com/wp-admin and put my id and password, i go on a blank page and i cant do anything. This is the case for my 3 sub sites.

    Ps: it was working fine before we made some improvements on the website ( especially, we touched to the subsite/subdomain configuration). At first, we have a subrepertory installation and we put a subdomain install. This must has something to do with the problem but we checked 10 times what we did and now all seem correct.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Backoffice sub-site inaccessible’ is closed to new replies.