• Hi,

    Ive just installed multisite on a existing site I’ve been running for about 6 months. I went though the recomended procedure-ammending the wp-config.php file and the .htaccess file.

    So far so good, I’ve got my network admin, I created a new site, this appears in the dashboard sidebar, however, when I click on to dashboard or visit site for the new site, all I get is Error 404: File Not Found.

    If anyone has had similar problems and managed to resolve them I’d be very grateful for some advice.

    Thanks

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

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    What’s in your .htaccess file?

    Thread Starter will48

    (@will48)

    Hi Mika,

    Thanks for your reply. The contents of the .htaccess file are:

    # Added by Surftown to prevent brute force attack against wp-login.php
    <IfModule mod_rewrite.c>
    	RewriteEngine on
    	RewriteCond %{REQUEST_METHOD} POST
    	RewriteCond %{HTTP_COOKIE} !^.*wordpress_test_cookie.*$ [NC]
    	RewriteRule wp-login.php  - [F,L]
    </IfModule>
    
    # BEGIN WordPress
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    
    # END WordPress
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Okay, remove the Surftown section and make it JUST WordPress 🙂

    Thread Starter will48

    (@will48)

    Hi Mika,

    I’ve just removed all the reference to Surftown and left:

    # BEGIN WordPress
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    
    # END WordPress

    But still the same result: Error 404: File Not Found

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Please use the code tags (see the quicktags above the post entry box? The code one 😉 ) when posting code. Makes it more readbale.

    What kind of 404? Is it a server based one or does it look like WordPress?

    Thread Starter will48

    (@will48)

    Hi Mika,

    Sorry I’ll use the code tags in future. The 404 error I get when trying to get the new site dashboard is server based see: http://preston.lancashireprimarycoaching.co.uk/wp-admin/

    However when I try to ‘visit site’ it’s the standard Internet Explorer cannot display the webpage

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    You didn’t set up DNS correctly on your server for wildcard subdomains.

    If you don’t know how to, ask your webhost.

    Thread Starter will48

    (@will48)

    Thanks for your help Mika, I’ll get on to them.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Multisite istallation Error 404’ is closed to new replies.