Page Not Found: 404 on new site
-
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)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Page Not Found: 404 on new site’ is closed to new replies.