Specific plugin script not working on subdomain
The problem was that the function itself was declared before the initialization of button that wasn’t working. So the replacing of button init before the function declaration resolved the issue.
The problem was that the function itself was declared before the initialization of button that wasn’t working. So the replacing of button init before the function declaration resolved the issue.
I have it working now. The file, ivevents.js, has an error in it. Rather than the console identifying the error, it gives the 404 error, as if the file doesn’t exist. When I corrected the error in the js file, the console error goes away. Now, if I could only figure out how to use … Read more
Rather than manually making changes to the WP tables, I use the “WP Clone” plugin. It saves the entire blog to a zip file, then you Restore that on the new site (using WP Clone). The restore process makes any needed changes to the domain names/links/whatever, so the new site just works. You will log … Read more
This function, which I use in my “Multisite Media Display” plugin, will put all subsites into an array. Note that there are two ways that are required to do this, depending on the WP versin, since wp_get_sites is deprecated as of 4.6+, but is still allowed in 4.6+, even though it doesn’t return site names … Read more
Thanks for your help, Jack, it was really useful. What I ended up doing was using the export and import function in the control panel. I returned the original blog to the main server directory. I then created a new installation of WordPress inside my website’s directory. It was just then a case of exporting … Read more
In order to fix your problem, assuming you are using Apache web server, paste this into your .htaccess (the .htaccess inside the sub-domain (my) directory): 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] … Read more
Multisite WordPress Configurtion
how to setup subdomains for pages?
Single sign on to sub-sites in Multisite Network
You need install wordpress in your own domain. If you use the WordPress portal, all of sites be accessed this way. You can install on Go Daddy or something similar. You need buy a domain to install WordPress. After you buy your domain (can be yourcompany.com, for example) you must install WordPress in your domain … Read more