Mike Price
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Multisite Subdirectories mirroring primary domainHey David,
I think you need to go into the clone site and change the link to the dashboard to reflect the main primary domain dashboard in the multisite and not that of the clone template. That way the code provided in mu-plugins should work if memory serves me right.
Can you try that and let me know?
Forum: Networking WordPress
In reply to: Multisite Subdirectories mirroring primary domainHa, I am assuming that did the trick for you! No need to buy me dinner im sure we are in different places in the world ?? but really appreciate it. Glad I could be of help!
Forum: Networking WordPress
In reply to: Multisite Subdirectories mirroring primary domainHi
You can create a new folder named mu-plugins inside wp-content then create the new file as discussed above ??
Forum: Networking WordPress
In reply to: Multisite Subdirectories mirroring primary domainHey David,
mu-plugins folder should be inside your wp-content/ directory
Forum: Networking WordPress
In reply to: Multisite Subdirectories mirroring primary domainHey Dave,
Actually, in Multisite, you should have a plugin folder called mu-plugins. Inside of this folder, simply create a new file and name it:
redirect-users.php
Then within that file paste the code from that link I sent. It will then act as an always activated network plugin. Hope that helps!
Forum: Networking WordPress
In reply to: Multisite Subdirectories mirroring primary domainHey David,
The link you are creating is trying to take them to the main site’s dashboard to which they are probably not members of therefore the no permissions error. I can’t remember how I solved this before, whether it was a plugin or code. However, I believe this is what you need:
https://snippets.khromov.se/redirect-wordpress-users-to-their-primary-site-when-logging-in/
I hope that helps!
Hey George,
That is awesome, so glad this worked out so well for you.
Forum: Fixing WordPress
In reply to: Site not Sending any kind of emailSorry to hear about this. You mentioned already trying WP SMTP but I wonder if maybe you didn’t set it up correctly? SMTP solution is what you need to be honest and if set up with the proper SSL connection and Auth credentials from your mail host, it should work flawlessly.
I wrote an entire article about this here: https://mikepricetw.com/wordpress-email-issues/
I personally use: https://www.ads-software.com/support/plugin/easy-wp-smtp
I would say give it a try and make sure you have the proper mail credentials for SMTP as described in my article. Let me know if you have any questions!
Forum: Networking WordPress
In reply to: Changing Domain on Root site on MultisiteHey
That sounds like your htaccess is incorrect. Please check your htaccess file via FTP and be sure it has the following:
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]
Forum: Networking WordPress
In reply to: Changing Domain on Root site on MultisiteSo glad to hear that you got this fixed. If you are having issues with subdirecotries it could be likely that you forgot the trailing slash / at the end of the directory name.
mydomain.com/site1 should be mydomain.com/site1/
Hope that helps!
Forum: Networking WordPress
In reply to: Network commentsI totally understand your position. For me, if I want truly premium products that are guaranteed to work and be supported within 24 hour timeframe, I pay the price ?? Good luck!
Forum: Networking WordPress
In reply to: Changing Domain on Root site on MultisiteHey there
If you want to change the primary domain of your WordPress multisite installation, there are 5 values to change. There is no need to perform a database dump. This is actually frowned upon, as WordPress stores serialized data in the database, and altering it can cause corruption. Here is a list of the 5 main tables and options that need to be changed (note that we’re assuming your table prefix is “wp_”. If you’re using a different table prefix, replace “wp_” in the following table names with your prefix):
wp_options: options named “siteurl” and “home”
wp_site
wp_sitemeta: the option named “siteurl”
wp_blogs: any entries in the “domains” column that have the old domain name
wp_#_options: Each sub-site will have sets of tables that correspond to the blog_id in the wp_blogs table. You need to go to the wp_#_options table, where # corresponds to the blog_id, and update the “siteurl” and “home” settings in that table.Forum: Networking WordPress
In reply to: Network commentsHey there,
Diamond Multisite widgets advertises it does what you want so I am sorry to hear that doesn’t work for you. I don’t know of another free option but there is a paid option:
https://premium.wpmudev.org/project/recent-global-comments-feed/
Hope that helps!
yup that did it ! It is now working correctly with my Custom Contact form plugin..sweet ! thank you so much for quick resolution ??
Interesting. I just saw an update come through and will give it a go. I would hope it fixes the issue because temporarily I had to switch to another SMTP plugin but surely love sticking with just one and I wanted it to be yours ?? Will let you know how it goes!