The current versions of wordpress multisite is creating a confusion to all of you people.
here when you check your wp-config.php file you can see the below screenshot.
Now you have to do is, simply edit the line number 91 and set the 0 to it.
then check your main site permalink structure. this issue will be resolved.
Your email address will not be published. Required fields are marked *