Force Load https WordPress Plugins

Most likely, what you mean is that some assets (images, JavaScript, etc.) rendered by your plugins are being served explicitly over http. (Please correct me if I’ve misunderstood). These problems need to be fixed in each of the individual plugins, and the fixes will vary based on how the assets are referred to. There are … Read more

WordPress Multilingual Theme using Multisite

Have you added the Function load_theme_textdomain to the theme? so if you have them themes .mo files in theme/mytheme/languages Loads the theme’s translated strings: add_action(‘after_setup_theme’, ‘my_theme_setup’); function my_theme_setup(){ load_theme_textdomain(‘my_theme’, get_template_directory() . ‘/languages’); } Put this in your functions.php

turn single domain off

Your easiest route is probably to use a plugin like Restricted Site Access (disclaimer: written by my boss) to redirect a user who isn’t logged in elsewhere, like the network home or something else. There are a few other similar plugins out there. Another option would be to take the code you say you’d put … Read more

WPMU Development Environment

Multisite is meant to be either one or the other, and it’s not meant to be changed. If I were you, I’d move it to a testing domain rather than a subdomain, since you’re going to have to change it back when it’s time to move, and I don’t know what sort of behaviors you’ll … Read more

Pretty Link Lite Plugin on WP Multisite

look in your domain mapping options. Did you activate “Redirect administration pages to site’s original domain (remote login disabled if redirect disabled)”? If so uncheck this and use the mapped domain name for the admin section (I have checked point 2+3 which is Permanent redirect and User domain mapping page and the other options are … Read more

Error 404 on Network Admin and others

The problem is that your .htaccess rules are referencing a path outside of the document root, which is not allowed in .htaccess files. Here is the complete working code for your .htaccess file. 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 … Read more

Retrieving data from specific multisite blog

You can use the switch_to_blog() function to switch the scope to a specific site and access data from that site: require_once( ‘/path/to/wp-load.php’ ); switch_to_blog( 3 ); $option = get_option( ‘admin_email’ ); restore_current_blog(); Also, you should use wp-load.php when using WordPress API in your own project, not wp-blog-header.php

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)