AnswerBun.com

Multisite gives Error if i want to enter Dashboard or Site

WordPress Development Asked by Moe on December 17, 2020

I´m struggling for 3 days now. I want to create a WordPress Multisite System with subdirectories. As Server im using Apache.
My wordpress is installed at /var/www/html/wordpress
In order to do so i followed the installation instruction and added to my wp-config.php

define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'myadress');
define('PATH_CURRENT_SITE', '/wordpress/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

After this i change my .htaccess file to

RewriteEngine On
RewriteBase /wordpress/
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]

Now i want to add a new page for this i click on the menu to add a new site. After adding if i want to go to the dashboard. But i always get an Error that says that the requested URL was not found on the Server.
I also enabled apache mod_rewrite.
As solution to show 2 websites i now created a subdirectory and installed a new version of wordpress there. Now i can see the second the dashboard and the site. But this is a new Instance or ? Because if i am in the Dashboard of the subdirectory i cant go back to the parent multisite dashboarf.
Has anybody an idea why that is the case ? I’m new to WordPress and can’t find the Solution.

Thanks for your Help

Moe

Add your own answers!

Related Questions

Add Featured Image and Title to wp_nav_menu items

1  Asked on November 19, 2020 by red5

   

Google Analytics – add script to functions.php

0  Asked on November 19, 2020 by szachmat

   

Modify Maximum upload file size text in WordPress Media

0  Asked on November 15, 2020 by tacker

   

How to display fields from the loop in two separate divs

1  Asked on November 3, 2020 by pual

   

Correct permalinks and 404-error

1  Asked on November 1, 2020 by vlad

   

Add custom field to Posts and sort by it

1  Asked on October 27, 2020 by nikname

     

How to generate the COOKIEHASH from JavaScript

1  Asked on October 26, 2020 by zeth

   

Custom permalink variable on single post

1  Asked on October 20, 2020 by quyet

   

get_terms (or tax_query) for term of current post?

2  Asked on October 18, 2020 by fntc

     

How to customize the Lost Password URL?

0  Asked on October 17, 2020 by radu

   

How to add one time a new page?

1  Asked on October 17, 2020 by zed93

 

Woocommerce tables not responsive mobile

1  Asked on October 8, 2020 by rickmorty

     

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir