Support » Networking WordPress » permalinks and subsite issue

  • I have a WordPress multisite install on Nginx. Currently I have as main site. And I added a new site called as subdirectory. However, I noticed you can actually click on Network Admin > Sites > Edit (site 2), you can change the domain = and path=/. Instead of using and path=/site2.

    I created to nginx vhost config files under sites-available. And site1 and site2 both work fine. Now you are asking me what is the problem?

    The problem is with the permalinks. If you put them to /blog/%postname%/ both site1 and site2 work fine. However if you enter the server redirects to whereas it should remain on site2 and display a 404. If you enter the 404 is displayed appropriately.

    One possible way to solve this is to remove the /blog from the permalinks. The tip given on the internet to change the permalink structure per site to default, and to change it under network admin >edit site> settings to /%postname%/ works fine for (the primary site). But not on

    Any ideas what could be wrong.


Viewing 5 replies - 1 through 5 (of 5 total)
  • I would recommend to not change anything in those settings.

    Are you mapping your 2nd domain with

    So is your primary domain. So you created the subsite and then mapped that to

    Hi Patrick,

    Strangly enough, it works without any plugin. This is new and only worked for me under 3.8. All you need to do is go under network admin > edit sites and then modify the site you want by changing the domain and path. It works!

    semyou – We suggest you NOT do that since it can cause other problems with upgrades and plugins and settings. but if it works, hey, carry on.

    We suggest you use the plugin Patrick linked to.

    Hi Mika,

    The domain mapping is not the problem. It’s the permalinks and how the 404 is managed. I will try Patrick’s with the domain mapping plugin.

    You THINK the problem is permalinks, but what if I told you the plugin helps with that?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘permalinks and subsite issue’ is closed to new replies.