Add external url to WooCommerce My Account navigation

Making a small assumption here. It’s more likely that the actual output looks something like this: <a href=”www.subdomain.domin.com/members/profile”> Profile </a> rather than: <a href=”www.domain.com/my-account/www.subdomain.domain.com/members/profile/”> Profile </a> And your browser is actually filling in for the missing scheme and path. Browsers will assume an href is relative if you don’t use an absolute URI (go figure!) … Read more

How do I point two urls to the same child site in a multisite config

Don’t add more sites to point more domains to the same site. Just add more domains to the same site from this address /wp-admin/tools.php?page=domainmapping of the dashboard of the site. You might need to disable primary domain check from this network admin page /wp-admin/network/settings.php?page=dm_admin_page if you don’t want the domains to all redirect to the … Read more

Domain level problem for multisite?

The googles know about tons of tutorials on multisite setup/management. Start here http://www.wpbeginner.com/wp-tutorials/how-to-install-and-setup-wordpress-multisite-network/ . (Asking the googles is a good place to start any question. Much knowledge there, although it takes a bit of work to find best resources.)

How can I make my existing VIP theme to multisite

You should first run the installer for WordPress which will generate a wp-config.php in your var>www>html>yrc>wp. You can do it manually as well by copying the wp-config-sample.php to wp-config.php, do it only if you have understanding of what this file should contain. To run the installer in your local host simply use the URL http://localhost/yrs/wp, … Read more

Multisite – cannot remove specific sub-menu its parent menu. All sub-menus disappear

Ok, I was doing a mistake and glad that I found it! I was using admin_menu hook when it should be admin_init. So the only change I had to make was: add_action(‘admin_init’, ‘restrict_admin_access_by_role’, 999); https://stackoverflow.com/questions/27137866/what-wordpress-hook-fires-first-admin-init-or-admin-menu Hope this would help somebody like me as well!