Plugin Author
Michael
(@mikeyhoward1977)
If you create a new site manually within admin, does that work?
Also, does the URL you are trying to access match the URL that is given within admin -> sites?
-
This reply was modified 5 years, 11 months ago by
Michael.
Thread Starter
Claudio
(@claudio65)
Thank You for the answer.
Yes, if I create sites manually it works.
Yes, the URL is the one given ate admin -> sites.
The problem persists.
I have no idea what about to do.
Another question:
The main menu is not replicated within the new site I created manually.
The pages and posts that I checked to be replicated, at the config, are not been replicated too.
My idea with this plugin is to create an entire copy of the main site.
And allow people (whom don’t know how to use WordPress) to insert products at a virtual store.
Exactly as a Demo of my web store.
Am’I getting this wrongly?
Thread Starter
Claudio
(@claudio65)
Never mind!
I justa found another way.
Thank You very much!
Plugin Author
Michael
(@mikeyhoward1977)
Are you able to share? May help out other users.
Hello,
The problem is in the plugin file register-actions.php line 84 the path of the network is not include like wordpress wp-admin/network/site-new.php line 237 (get_network()->path)
You must change the like so the line 84:
‘path’ => untrailingslashit(get_network()->path) . $path,
or use the hook ‘epd_site_registration_args’ to change $args[‘path’] for the correct path
Regards
Auban
-
This reply was modified 5 years, 11 months ago by
redcastor.
Plugin Author
Michael
(@mikeyhoward1977)
Thanks @redcastor. An update has been pushed
Thanks, but i work on localhost with subfolder so its not a subdomain and the get_network()->path is not set.
Auban
Thread Starter
Claudio
(@claudio65)
Mike Howard (@mikeyhoward1977)
2 days, 3 hours ago
Are you able to share? May help out other users.
Actually I gave up to the plugin and use another 2 others.
But I decided to give it another try.
Simply don’t work.
-
This reply was modified 5 years, 11 months ago by
Claudio.
Not work.
You not add network path to the domain arg but on the path arg