Just you need to put this code in .htaccess
file
# 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
and this code in wp-config.php
file
define('WP_DEBUG', false);
define('WP_ALLOW_MULTISITE', true);
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'fresenia.man.poznan.pl');
define('PATH_CURRENT_SITE', "https://wordpress.stackexchange.com/");
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
It’s working and tested code at my side.
Related Posts:
- Force Network Admin Dashboard to 1 column on wordpress multisite
- Multisite sub-site dashboard redirects to /wp-admin/
- WordPress Multisite Layered Admins
- Trying to access second site dashboard on a multisite configuration proceeds to an error
- How To Remove Dashboard Menu Items for Multisite Users?
- How to remove Broken Link Checker widget from admin menu
- wp_redirect not working on admin menu page
- Cannot access WordPress Multisite Main Dashboard
- Multsite redirecting to the main site
- Possible to enqueue scripts and CSS to Multisite Network dashboard?
- WordPress Multisite dashboards redirect to homepage
- Multisite gives Error if i want to enter Dashboard or Site
- Where are the files that control the multisite user dashboard?
- Is there something I need to know in order to use WordPress on foreign (Swedish) TLDs?
- “My Sites” incorrectly showing all network sites for all logged in users
- Unable to login to admin dashboard after setting up multisite
- Site Redirecting to wp-signup.php
- Are nested subdomains possible with a subdomain multisite?
- Querying posts from multiple sites in a network?
- is_front_page() malfunction?
- How can I diagnose a slow WordPress admin?
- How to enable a site administrator to edit users in a WordPress network/ multisite setup?
- BLOG_ID_CURRENT_SITE vs. SITE_ID_CURRENT_SITE in WordPress Multisite?
- Shared table across network
- Turn off ms-files.php after network setup
- Opinions whether to go multisite VS 3 separate WP installation [closed]
- Multisite: differences between subdomain and subdirectory mode? Can it be switch after installation?
- Ban SiteNames Multisite
- WP MultiSite API – Create new sites
- Multisite – how to remove the root ‘/’ site?
- WordPress multisite with domain mapping and virtual host on local with fake domain
- Don’t allow access to wp-admin but allow admin-ajax requests to be fulfilled on frontend?
- Timeout While Upgrading Network in Multi-site
- Full Domain Mapping with WP3 in Multiuser Mode
- Copy site from one multisite to another
- add_rewrite_rule not registering on Multisite
- How to combine multiple sites to WordPress MU
- how do I configure nginx for wordpress multisite, it occurs ERR_TOO_MANY_REDIRECTS
- Installing multisite network admin on sub-domain
- multisite custom directory
- Changing wp-content to other name? Multisite set up
- You do not have permission to edit this user
- Rest API Multisite Site List?
- Query users by capability – uninstall/deactivate callback
- Cannot access my first sub-site in a multisite [closed]
- Multisite setup help – plain domain/subsite always redirects to domain with subdir multisite
- Auto creation of multisite blog on user registration
- Memory question on WordPress Multisite
- How to protect post attachments related to a custom post type, from non-logged in users, on 1 subsite of a multisite installation?
- WordPress multisite on IIS – can’t open subpages
- Issues with Multisite installation and 403 error for REST API request
- How to run react app and headless WordPress and React App on same server (managed by plesk)?
- Nginx Wildcard SSL with WordPress Multisite Subdomains
- Multisite – Parent site with Polylang with different domains for each language [closed]
- How to disable wordpress cron jobs for a subsite?
- Multisite – create plugin to hide deactivated sites from the sites overview
- network site domain mapping still applied after being removed
- Can WordPress Multisite (MU) subdirectory url/slug/permalink be changed?
- Multisite Subdomain Redirect Mask
- How to use HyperDB plugin in a existing wpmu
- Sort by site/blog column in Multisite
- Possibility of Create Site Specific CSS in a Multisite
- Get post by term from custom taxonomy in another blog on the network?
- Two wordpress mu installs, same settings/plugins/themes?
- Multi Network plugin: “Network not created” [closed]
- Https and Http Login Issue on WordPress Multisite
- How can I use different domains on a WP multisite install?
- Multisite network admin – User’s role not showing up
- Is it possible to install WordPress MU on a subdomain?
- WordPress multisite with same content
- Redirecting to page not found mulitiste
- How many .htaccess files should a WordPress multisite (subdirectory set up) have?
- Multisite and Multidomains WordPress
- mu activate / deactivate plugins in multisite network mode only
- Is there any hook to validate google recaptcha dislayed in wp-signup page [in WordPress Multisite]
- Primary (root) blog of multisite installation forbidden (403)
- Duplicate/Clone a Multi-site But Use Same Images & Resources?
- How do I split a single WPML site with 6 languages (English is Main) into Multisite with 5 subfolders
- WordPress Multisite with Subdomain, make the subdomain look like another domain
- Login issues on WordPress Multisite and domain mapping
- SSL for Mapped Domains with WordPress Multisite on AWS
- Accessing WP multisite via IP instead of domain
- Running hosted multisite version of wordpress
- Admin Ajax returns “0 200 OK server error..” in Multi-site sub-site
- How to implement this subdirectory mapping in multisite?
- WordPress MU with subdomain
- How do i get custom metabox data from each multisite blog?
- Multisite login and redirect to users main blog,
- WordPress multisite dashboard not working..!
- Parse shortcodes from another site in WP Multisite
- Custom pages on all multisite network, to NOT show in wp-admin at all
- In a MS install, can you allow different users to have their own themes?
- Install WordPress MU outside htdocs
- Redirect authors from upload.php url to Home page in Multisite
- Images on WP Network’s subsite appear only if accessed via main site’s url
- WordPress Multisite platform for different city for single db
- Not being allowed to use some terms in Add New Site in WordPress
- How to redirect root blog to a specific one in multilang WP?
- get_category_link() or get_tag_link() return wrong category/tag base in wordpress multisite
- Multisite subdomain microsite on secondary domain