• Resolved jchris

    (@jchris)


    I’ve read through the other threads but this problem seems to be slightly different.
    I have made a new install on a local wamp server.
    I have activated network and everything seems OK.
    When I create a new site as network admin it shows up in the admin site list.
    When clicking the edit link I come to the edit page and the url seem to be fine (ends with the siteID=x.
    The tables are created in the MySql database. Each new site creates a new set of tables using the sites index no.
    BUT..
    When I try to reach the site, or the site admin pages, I get this message on an otherwise blank screen:
    Page title: 404 Not Found
    Not Found
    The requested URL /svante/ was not found on this server.

    The main site has the following problem:
    I can add a new post and it shows up fine on the index page.
    I can not reach the page with the post. Same type of error: 404
    “Not Found
    The requested URL /blog/2011/07/08/new-post/ was not found on this server.”

    I would really appreciate your help on this.

    /chris

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

    (@ipstenu)

    ?????? Advisor and Activist

    Sounds like permalinks aren’t workign at all. Were they working before you turned on MultiSite?

    Thread Starter jchris

    (@jchris)

    I changed back to default and that took care of the problem with the “main site”. Thanks. Deal with that later.

    But I still can’t visit the other sites. I also created another one after changing permalinks back to default but there was no difference from the others.

    Any ideas?

    /chris

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If permalinks aren’t working on the MAIN site, that’s a sign that nothing’s going to work on the subsites at all. Which is why I asked ??

    Were permalinks working BEFORE you turned on multisite?

    What’s in your .htaccess?

    I have a same problem. ?.?

    I have the same problem.
    Mine is a new installation in the domain mode. The permaliks were set to something other than “default” but and I have no idea if they were working.

    My .htaccess file is as follows:

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

    Thread Starter jchris

    (@jchris)

    I don’t know if permalinks were working. I did a new install and immediately turned it into a multi site. Premalinks in default mode are now working on the MAIN site.

    This is my .htaccess: (it is in the www root directory, as are index.php and the other wp files)

    <IfModule mod_rewrite.c>
    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]
    </IfModule>

    i have the same problem.
    the main site works fine and i don`t have any problems with permalinks.
    when a creat a new site i can`t access the dashboard or visit the site. is a 404 error page

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Guys. If you’re not using a local WAMP server, PLEASE make your own post.

    jchris – If default (ugly) permalinks are working on your main site, but pretty are NOT, then that means you didn’t set up mod_rewrite on WAMP correctly.

    Thread Starter jchris

    (@jchris)

    Problem solved after Ipstenus last advice.
    This is how:
    The wamp server was not installed with mod_rewrite on. It turned out to be very easy to do. (Example as if wamp is running)
    1: Click on the green wamp icon. (Bottom, right on the screen)
    2: Click “Stop all services”.
    3: Repeat step 1 when the icon has turned red.
    4: Hover “Apache” and a submenu opens.
    5: Hover “Apache modules” and yet a submenu opens.
    6: Click on “rewrite_module” if it is not already checked.
    7: Click on the wamp icon once more and chose “Start all services”.
    8: Happy blogging!
    If the rewrite_module alreday is checked in step 6 – Sorry, you have another problem.

    Thanks for your help.!
    /chris

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘wp 3.2 , new sites not working’ is closed to new replies.