WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't fix WordPress Multisite missing stylesheet/wp-admin issue (22 posts)

  1. SwiffEpics
    Member
    Posted 1 year ago #

    Hello, I have been searching google like crazy and have of course read many help topics on this forum. However no matter what I try I cannot seem to fix this issue.

    So basically I have installed WordPress multisite on our GoDaddy server. Initially I didn't get the option to chose between sub-domains or sub-directories, so after installation I had to go into WP-Config and set the subdomain_install to false...like so:

    define('SUBDOMAIN_INSTALL', false);

    After doing this my default wordpress site was working, along with a second site I set up under the directory /de/

    Now when I come to make a third site under the direcotry /fr/ for some reason it will not work. Which is very strange considering the /de/ site works fine.

    When I access the /fr/ site the stylesheet is blank, although the logo and twitter icons manage to show up. Not only that but I am unable to access the WP-ADMIN. I get the error "The page isn't redirecting properly"

    I have tried multiple fixes that I have read, such as editing my .htaccess and wp-config. I even tried to edit the mod_rewrite/vhost configuration but I am unsure of how to do this on GoDaddy. I called them but they had no idea what I meant.

    If anybody can help I would be most grateful.

  2. What did you change your .htaccess to? You replaced the WP section and didn't just add on to it right?

    Did you delete the TwentyEleven theme?

  3. SwiffEpics
    Member
    Posted 1 year ago #

    Here is my .htaccess at the moment

    I have tried multiple adjustments based on things I have read here.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

    </IfModule>

    # END WordPress

    I also figured something out about our server. Before I tried install multisite we already had the /de directory set up on the server, with it's own installation. So now that I have set up the /de directory with our multisite I believe it's not actually operating fully under multisite. Which means we have confused ourself lol.

    Even with this confusion Multisite is still not working because I still cannot get the /fr multisite to work.

  4. SwiffEpics
    Member
    Posted 1 year ago #

    Ok I have managed to get into the WP-ADMIN after making some alterations to my .htaccess

    but now I still cannot get the theme to work on the new /fr site. bare in mind that I am using the Constellation blank theme which I have edited to our tastes.

  5. Your .htaccess is the one for subdomains.

    http://codex.wordpress.org/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite

    Grab the subfolder one.

    And again: Did you delete the TwentyEleven theme? (DON'T! I'm just asking if you did :) )

  6. SwiffEpics
    Member
    Posted 1 year ago #

    I didn't delete it, but I disabled it. I will try out the subfolder .htaccess

  7. Disabled how?

    So long as the folder's in the /wp-content/themes/ folder you should be okay. When it's not, WP does funny things unless you change the default new theme.

    Do fix the .htaccess :)

  8. SwiffEpics
    Member
    Posted 1 year ago #

    Hi

    I have edited my .htaccess but now I get the following error on the browser when I try to go to http://www.mysite.com/fr/wp-admin

    The page isn't redirecting properly

    The twenty eleven theme is definitely in the themes folder, on the root site.

  9. SwiffEpics
    Member
    Posted 1 year ago #

    Nevermind I can get into the wp-admin now

    now the only problem is the stylesheet. It's weird because it's clearly reading the logo and the social icons, but the actual styling will not show.

  10. Check if 'AllowOverride' includes the setting 'All' in your httpd.conf file (ask your webhost if you don't know what that means)

  11. SwiffEpics
    Member
    Posted 1 year ago #

    That's where the issue lies, because I am on a Godaddy shared hosting plan and they don't give me access to the httpd.conf

    I tried calling them and the advisor had no clue what I was talking about, all he did was link me to their page showing you how to activate Multisite with WordPress.

  12. Well I know it can work on GoDaddy.

    Are you on Windows or Linux hosting?

  13. SwiffEpics
    Member
    Posted 1 year ago #

    It's running Linux.

    Would it work if i created my own httpd.conf file in the root folder?

  14. Alas no. It's a server thing.

    Are you sure you set up the .htaccess correctly? Named it right and so on? No fucnky characters or extensions?

  15. SwiffEpics
    Member
    Posted 1 year ago #

    I have checked again and the .htaccess is named correctly and inside it has the following:

    # 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

    Now I wish we decided on a VPS server instead :(

  16. Quite honestly, a VPS wouldn't matter. If the images in posts are working, the .htaccess is most likely working. Is that the entire .htaccess? Nothing extra you're not showing us?

  17. SwiffEpics
    Member
    Posted 1 year ago #

    Yes that's the entire .htaccess

  18. This is weird. :(

    Okay, let's think logically. Your sub-site images are working. Are they pointing to http://www.mysite.com/fr/files/2012/07/image.jpg ?

  19. SwiffEpics
    Member
    Posted 1 year ago #

    OMG, this is crazy. All of a sudden it's magically just started to display the theme.

    I don't even know what fixed it. Could it be that it takes some time to register?

  20. SwiffEpics
    Member
    Posted 1 year ago #

    I just tried to make an /nl/ site

    The dashboard works, but the actual site will not load. So now im wondering if it will magically fix itself once more.

  21. I was about to say no, but ...

    In the past, GoDaddy had a weird caching system. I wonder if that's what it was.

  22. susmita1234
    Member
    Posted 10 months ago #

    I am new to wordpress & trying to migrate wordpress setup to a new server.
    I want my URL to be in format "http://blog.mydomain.com/wordpress" & the child site URL should be "http://blog.mydomain.com/wordpress/childsite1".
    Now after installation I copy the root(htdocs) folder from existing server & paste all the files & folders of htdocs except wp-config.php & modify wp-config as define('SUBDOMAIN_INSTALL', false);.

    Imported the database backup also. Now admin site is coming properly , but stylesheet is missing from all the subsites. I am not able to resolve it & I have followed your support forum also. But still helpless.

    When I create subfolders for all the sites in htdocs & putting all the htdocs content of root folder to subfolders than subsites are displaying properly but images in posts of subsites are missing.

    "http://blog.mydomain.com/wordpress/testsite/files/2013/06/homeImageOne2.jpg" - Image link updating in database

    "C:\BitNami\wordpress-3.5.1-1\apps\wordpress\htdocs\testsite\wp-content\blogs.dir\7\files\20136" - File actually uploading into the path

    I have followed many posts that .htaccess is the file which is responsible for this. But i think .htaccess files in subfolders are not readable. I have also modified Allowoverride to All.

    Please help me.For any help I would be most grateful.

Topic Closed

This topic has been closed to new replies.

About this Topic