Forums

[resolved] New site, no css and Internal server error on links (12 posts)

  1. cambob
    Member
    Posted 10 months ago #

    Hello WP, I enabled network admin successfully and the main site is working great. But when add a new site in Nertwork Admin I get a site with straight text and links (no css, images, or formatting) Also, when I click on some of the links such as Appearance, I get an internal server error?

    I read the article on enabling a network and have the network set up as sub-directories and have mod-rewrite feature on the server.

    I have wordpress in its own directory and read this but am a little confused
    "Giving WordPress its own directory will not work in WordPress 3.0 with multisite enabled. It interferes with the member blog lookup."

    which of course means I cant have WP in its own directory, however it goes on to say this.

    "If you wish to install WordPress in a folder AND have that folder name it will work. Domain mapping, however, will not work. "
    which sounds like it will work in its own directory.

    Sorry but I'm a little confused, do I need to have all the wordpress files at the top level, or can it be in its own directory??

    Or maybe theres something else wrong??

    any help would be awesome!

    ps I have define('WP_ALLOW_MULTISITE', true);
    entered in the config file

    Thanks

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 10 months ago #

    If you install MultiSite in domain.com/wp you CANNOT have it run from domain.com (sans wp) like you can with single site.

    ALL your urls will be domain.com/wp/sitename

    Does that make sense?

  3. cambob
    Member
    Posted 10 months ago #

    Thanks for that, sure does.
    For example my main site is http://www.zenstream.info/zen/
    (zen being the wordpress site)
    I create a new site with a URL of http://www.zenstream.info/zen/test1/
    (test1 being the secondary wp site)

    but if you go to that site you will see the problem as described in the previous post with broken css, images and other internal server error?

    Thanks

  4. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 10 months ago #

    That probably means you didn't complete setup and your .htaccess file (which should be in the ZEN folder) is incorrect.

  5. cambob
    Member
    Posted 10 months ago #

    hmmm, ok I'll go back to the article on enabling the network and see if I can figure it out.

    Thanks Again

  6. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 10 months ago #

    When you enabled the network, there was a part where it says 'Put this in your .htaccess and this in your wp-config.php'

    The .htaccess part is the big that controls your css :)

  7. cambob
    Member
    Posted 10 months ago #

    Yep did that too, but finally figured out what was going on.

    My hosting does not have a visible .htaccess file but they have an edit .htaccess via the control panel. I configured the .htaccess through the control panel and I assumed its at the top level directory and from what I gathered affected everything below.

    As we know It wasnt working so I created a brand new .htaccess inside the top WP directory (zen) with the configuration from the multisite setup. (maybe this is in the documentation but I missed it if so)
    And that did the trick!

    Thanks for your follow up hopefully this will help someone else!

    solved.

  8. Andrea_r
    team pirate
    Posted 10 months ago #

    As we know It wasnt working so I created a brand new .htaccess inside the top WP directory (zen) with the configuration from the multisite setup. (maybe this is in the documentation but I missed it if so)

    Yes, it is. :) You make that htaccess file in the same folder as your install's wp-config file if it does not exist.

  9. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 10 months ago #

    And see if you can use FTP with your host. I know that WinSCP (Windows) and CyberDuck (Mac) both show you hidden files and they're free ;) Good tools to have!

  10. cambob
    Member
    Posted 10 months ago #

    OK, I thought I read on one of the docs that the .htaccess that was in the root directory would affect all directories below (such as wp in its own directory). But its definitely good to know for future installs, updates ect. that it has to be in the WP directory.

    My host does allow ftp. I use CODA and discovered I can turn on hidden files on that as well.

    Thanks again!

  11. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 10 months ago #

    OK, I thought I read on one of the docs that the .htaccess that was in the root directory would affect all directories below

    It does BUT. If you're running WP, or ANY app, out of a subfolder, the app specific htaccess needs to be in the subfolder ;)

  12. Andrea_r
    team pirate
    Posted 10 months ago #

    I thought I read on one of the docs that the .htaccess that was in the root directory would affect all directories below

    it does. but in the case of multisite, you have *different* new ones it needs to follow.

Reply

You must log in to post.

About this Topic