Error 404 from messing with .htaccess
-
Hello,
I had a Multisite wordpress site working fabulously as “nyministrynetwork.org/next”. Since “nyministrynetwork.org” hadn’t been developed yet, I tried redirecting it to a different website through the .htaccess file. I apparently messed the file up. I removed the redirection and can now access the multisite dashboard again, and I can see /next in the “sites” section as one of my sites, but when I try to go to it’s dashboard or the site itself, it errors. I also tried creating a new test site and can’t access a dashboard for that either.Here is the code in my .htaccess file:
RewriteEngine On
RewriteBase /# BEGIN WordPress
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
# END WordPressHow do I get the /next site to show up again? (All the files are still in the folder structure)
Thank you!
The topic ‘Error 404 from messing with .htaccess’ is closed to new replies.