Multisite Child Theme Issues with Import URL
-
Hello,
I seem to be having the same problem as this user did when trying to activate a child theme on a multisite platform.
I am using an ElegantTheme called “Divi”. When I activate the theme on the network site it works great. When I try to activate the child theme that I created, the page loads without any CSS styling. Here is the Import URL:
@import url(‘../Divi/style.css’);
Per the aforementioned user’s problem it looked like the fix Mika suggested was to do something in the .htaccess file to make it work. That seemed to be the trick, however the code that fixed it wasn’t explicit.
I have less experience with .htaccess so I the beginner’s version of how to fix it. I understand that something about .htaccess makes multisite themes magically work – though I’m not at all sure what each line of code is doing. Here’s my .htaccess file:
# To set your custom php.ini, add the following line to this file: # suphp_configpath /home/yourusername/path/to/php.ini # BEGIN WordPress <IfModule mod_rewrite.c> 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] </IfModule> # END WordPress
- The topic ‘Multisite Child Theme Issues with Import URL’ is closed to new replies.