Support » Networking WordPress » no sub-directory option on multisite

  • hi

    trying to create a multisite

    have added define( ‘WP_ALLOW_MULTISITE’, true ); to config file
    tools > network set up

    i just get code to add to htaccess and config

    on the demos and guides people have an option for sub-directory and not sub-domain which is what i want

    i have tried sub domain but i cannot get it to work i just get an index page and when i visit /wp-admin i get a 404 error

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Plugin Review Team Rep

    i just get code to add to htaccess and config

    And did you add the code to the wp-config file nd htaccess? 🙂

    If your site has existed for more than I think 30 days, you get ‘forced’ to use subdomains, but you can edit it.

    code added but i get the error hence wanting to use the sub-directory option

    site only been live for 7 days

    how do i edit it

    Are you using main domain or sub-domain for your site ?

    If you want sub-domain in multisite, then it must be main domain having install network site.

    just confirm

    its a main domain

    what i want is mysite.com/demo1

    it only gives me an option for demo1.mysite.com

    and then that doenst work – with either a wildcard or a dedicated subdomain

    You must be use below code for sub-directory or sub-domain in multisite.

    For a domain-based network (sub-domain install)
    define( ‘SUBDOMAIN_INSTALL’, true );

    For a path-based network (sub-directory install)
    define( ‘SUBDOMAIN_INSTALL’, false );

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘no sub-directory option on multisite’ is closed to new replies.