[resolved] Multisite with subdirectory: themes are not displayed correctly in the subdomain (22 posts)

  1. corr01
    Posted 4 years ago #

    The theme is activated in the network admin- dashboard - themes. I double checked in the dashboards of the subdomains, same theme activated.

    Subdomains: you can recognize the same theme but below the footer it shows this:

    o About WordPress
    o WordPress.org
    o Documentation
    o Support Forums
    o Feedback
    • My Sites
    o Network Admin
     Dashboard
     Sites
     Users
     Visit Network
    o dubrovnikweddings.com
     Dashboard
     New Post
     Manage Comments
     Visit Site
    o Accommodation in Dubrovnik, Croatia
     Dashboard
     New Post
     Manage Comments
     Visit Site
    o Wedding vendors in Dubrovnik
     Dashboard
     New Post
     Manage Comments
     Visit Site
    o testing site
     Dashboard
     New Post
     Manage Comments
     Visit Site
    • Accommodation in Dubrovnik, Croatia
    o Dashboard
    o Themes
    o Widgets
    o Menus
    • 1
    • 0
    • New
    o Post
    o Media
    o Link
    o Page
    o User
    I have tested with 3 different themes and the same problem appeared every time.
    Can anyone help?

    Thank you!

  2. dgilmour
    Posted 4 years ago #

    Given this is a subdirectory installation, your references to subdomain-related problems don't make sense. Perhaps you could explain in more detail?

  3. corr01
    Posted 4 years ago #

    Hello dgilmour,

    maybe I have not used the right words, I am new at wordpress.
    I created a multisite using subdirectories, all is set up, I see individual dashboards for each "child site" (I called it subdomain before).
    All the child sites show a theme error, below the footer one can see the tring of text I copied above.
    On the "Parent site", the theme works fine however.

    Not sure if I am making myself clear...

  4. Subdomain install means:
    * Main site: domain.com
    * sub site: subsite.domain.com

    Subfolder means:
    * Main site: domain.com
    * Sub site: domain.com/subsite

    Now each of them have totally different .htaccess files, and that description of error means you've got the wrong one. Read http://codex.wordpress.org/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite

  5. corr01
    Posted 4 years ago #

    Thank you!
    you are write, I used subfolders...

    I checked the htaccess content, it is the content from the subfolder example which i took from the codex:

    # 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).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress

    I checked all the steps I did again to create it & watched some videos on youtube regarding this but honestly cannot see anything where I went wrong.

    Getting desperate...

  6. Oh. That's showing in the FOOTER?

    What theme are you using on the subsite? Can you switch to Twenty Eleven?

  7. corr01
    Posted 4 years ago #

    No, it is showing below the footer, no matter which theme I tried (including the Twenty Eleven one...
    so it is a string of links below the end of the footer, there should be nothing at all there.

  8. That's the ADMIN bar that's throwing that, see.

    Turn off all your plugins.

  9. corr01
    Posted 4 years ago #

    Did not work! :-(

    I had no plugin's activated on the main site, in one of the subdirectories I had equally no plugin activated and in the other subdirectory I had Shopp activated.
    I disactivated shopp, switched back to Twenty Eleven... same issue.
    The theme I was using is called Dynamix from themeforest, but seeing I also have it on twenty Eleven it cannot be theme related... can it?

  10. It;s not theme related, though... well normally it is.

    Is this an existing install and it suddenly broke, or a new install?

  11. fuzzie
    Posted 4 years ago #

    I have the same issue...
    main site updated fine, and looks fine.
    All the subsites in the MU install have the same extra menu below the footer.

  12. At this point, can you guys share your URLs?

  13. fuzzie
    Posted 4 years ago #

    I can, but it only screws up for logged in users.
    We have 25 subsites, all use the same theme, except 3. The main site works fine. All the subsites have the issue below the footer.

    So I don't think it is theme-related.

    It may be update-related.
    When I updated the MU site, it asked if I wanted to update the subsites as well. I was doing this on the test server, but the update link tried to go to the live server.

  14. fuzzie
    Posted 4 years ago #

    I fixed it by going to the subsites, and editing this:

    Update siteurl and home as well
    By checking the box.
    So far, it has fixed everyone I tried.

  15. corr01
    Posted 4 years ago #


    looks like we are in different timezones.
    Unfortunately, I have no idea where you did this, could you pls explain more Fuzzie?
    Did you follow these guidelines from the codex?

    Istenu: this is a new install for me, we have several xhtml sites running and this is my first go at wordpress but obviously, I'm not doing a good job.


  16. fuzzie - Changed the site and home URL to ... what exactly?

  17. fuzzie
    Posted 4 years ago #

    I'm sorry, I should have been clearer.
    Under Network Admin | Sites | edit any subsite
    You will see under the "Info" tab, a checkbox for "Path" that reads "Update siteurl and home as well."

    I checked that box, in all of my 26 subsites...issue resolved.

  18. So ... you changed them to be the same? You know that by DEFAULT when you make a site, they are. How on earth did you change 'em in the first place?

  19. corr01
    Posted 4 years ago #

    I cannot follow.
    when I follow this path network admin / sites / i have the option new sites or edit sites.
    where did you see "edit any subsite?"

  20. fuzzie
    Posted 4 years ago #

    I just checked the box.

  21. So you're saying when you CREATED your subsite, it defaulted to those URLs being different?

    I'm being pedantic becuase that's very much not default behavior :)

  22. corr01
    Posted 4 years ago #

    Just to keep you informed:
    When I created a new subsite, the theme displayed correctly in that subsite.
    Hence I deleted the previous created ones (seeing they were empty) and started from scratch.
    All is fine now.

Topic Closed

This topic has been closed to new replies.

About this Topic