Max number of sub folders

Do you mean nested pages? pages_content_1 (page with content, parent↓) pages_content_2 (page with content, child of above, parent↓) pages_content_3 (page with content, child of above, parent↓) pages_content_4 (page with content, child of above) If so, I don’t believe there is a limit. The URL would be http://example.com/pages_content_1/pages_content_2/pages_content_3/pages_content_4 I’m not sure what you mean by /{category}/{tag}/page_content, … Read more

Multisite + wp_mail – Route Via Site Conditionally

Well, I guess this works: Note: I’m using Postman SMTP; for the example below to work, I imagine that you have to have your server/transactional email delivery service properly configured for each respective ‘from’ email function conditional_multisite_wp_mail( $post_id, $post, $update ) { $to1 = ‘[email protected]’; $to2 = ‘[email protected]’; $subject1 = ‘SPECIFIC: testing right meow’; $subject2 … Read more

Load media from another URL on a multisite install

I found a solution on Stack Overflow. So I added the following to .htaccess Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^wp-content/uploads/(.*) http://their-domain.com.com/wp-content/uploads/$1 [R=301,NC,L] This replaces all references to the local uploads folder with a remote uploads folder on the fly and I see images on my local dev area without having to download 30GB+ … Read more

Issue when transforming an existing site to multi-site with subfolders setup

You can only use sub-directories with multisite on a fresh WP installation. WordPress Multisite doesn’t allow sub-directories for domains on an old site. So your possible solution would be to setup WP-Multisite using sub-domains as: en.idakt.com & fr.idakt.com You may go through this article to learn more about WP Multisite: The Ultimate Guide to WordPress … Read more

For a multisite WordPress site, how can I access a tag feed across all subsites?

For the basics, I followed this guide I found on Google here: http://www.wpbeginner.com/wp-tutorials/how-to-create-custom-rss-feeds-in-wordpress/ A multisite feed is complicated by the fact that you have to collect and filter posts from multiple blogs yourself. To simplify some of the naming, let’s assume I want to collect all posts tagged foo. I wrote a couple classes to … Read more

Network redirect issues

Oh, thess lines are not supposed to be present in the htaccess-file if using subdomains: # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]