• I’m a newbie with this, I have been reading around the internet, found similar cases, but no one with a solution to my problem.

    I’ve installed the wordpress multisite network successfully, the website is live and working and I can access both websites’ dashboards. I enabled the comingsoon plugin in the new website and it works. When I created the first pages and tried to preview them in the new website, I received an error “Failed to load resource: the server responded with a status of 404 (Not Found)”.

    my .htaccess file is like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [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).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    </IfModule>
    
    # END WordPress

    and I also added this to my wp-config.php file

    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );
    
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'cirurgiasurbanas.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    
    /* That's all, stop editing! Happy blogging. */

    I don’t know what am I doing wrong. Can someone help me, please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter abrutt

    (@dafabrica)

    Hi Andrew,

    Thanks for your reply, sorry for the delayed time answering, only today I was able to retry this. I had already tried flushing my rewrite rules through “Permalinks” by clicking “Save Changes”. But it didn’t work. This time I did it by deleting the option_value content. But I still get the 404 page, even after refreshing / force reload it.

    I’m not sure what else to try. I’ve been able to update the original website, but the new one shows only the main page, all the other pages (with content) return 404 errors (although displaying the footer and the menu).

    I’m pretty sure I’m doing something wrong / missing something, but I have no idea what.

    @dafabrica

    Hmm, thanks for the additional info.

    Can you confirm whether you have the Disable default pages setting enabled? You can find it under WP Shopify - Settings - General

    Also, can you tell me the value of your Products URL setting under the syncing sub nav?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page Not Found: 404 on new site’ is closed to new replies.