Home › Forums › WordPress Plugins › Hide My WP › Child theme css not loading
- This topic has 3 replies, 2 voices, and was last updated 11 years, 2 months ago by wholmes.
-
AuthorPosts
-
October 20, 2013 at 11:22 pm #344wholmesPost count: 2
Thanks for the offering very nicely done! I’m happy to buy a developers license when I get things sorted out. I’d like to use this for client sites.
I’ve looked through the posts and followed all the info I could find. The issue I have is that everything js/plugins .etc except the child-theme’s stylesheet seem to be loading. This is a Multisite setup so the themes are in blog.dir for each site. I don’t see a rule that would handle that, or am I mis-understanding?
Also in this child theme css is written dynamically. I’m wondering if that is an issue as well. here’s what the url looks like for the file in question as it pertains to a “sub-site” on the multisite network.
//mysite.mydomain.com/storage/32/files/dynamik-gen/theme/dynamik-min.css?ver=1382303944
I have the “manual option” checked and my .htaccess looks like this …
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]# BEGIN Hide My WP
RewriteRule ^genesis/(.*) /wp-content/themes/genesis/$1 [QSA,L]
RewriteRule ^skin_main/(.*) /wp-content/themes/genesis/$1 [QSA,L]
RewriteRule ^other/(.*) /wp-includes/$1 [QSA,L]
RewriteRule ^storage/(.*) /wp-content/uploads/$1 [QSA,L]
RewriteRule ^ext/(.*) /wp-content/plugins/$1 [QSA,L]
RewriteRule ^skin/main\.css /index.php?style_wrapper=1 [QSA,L]
RewriteRule ^skin/(.*) /wp-content/themes/dynamik-gen/$1 [QSA,L]
RewriteRule ^ajax /wp-admin/admin-ajax.php [QSA,L]
RewriteRule ^(wp-content/themes/dynamik-gen/screenshot\.png|readme\.html|license\.txt|wp-content/debug\.log|wp-includes/$) /nothing_404_404 [QSA,L]
# END Hide My WPRewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
# END WordPressThanks for any and all assistance.
October 26, 2013 at 1:21 pm #361wholmesPost count: 2Have I posted in the correct place? Should I now be posting at CodeCanyon?
October 31, 2013 at 2:02 pm #375HassanPost count: 955Yes, you added it in right place and I’m really sorry about long long delay!
There’s no need to another rule for blogs.dir it already is a part of WP and that URL should work.
Just disable ‘Avoid direct access to PHP’ and if it doesn’t help enter your login details here (choose private reply) and I’ll fix it for you 🙂
November 2, 2013 at 9:13 pm #399wholmesPost count: 2This reply has been marked as private. -
AuthorPosts
You must be logged in to reply to this topic.