Forum Replies Created
-
AuthorPosts
-
Hi, after update to latest version this issue is still there and also I find all images are not shown because HMWP change their URL to relative url(such as: file/sites/2/image.jpg, should be full url: http://mydomain.com/file/sites/2/image.jpg). So images only work on front page. There must be something wrong with multisite settings with child theme activated. I have another single site which is working fine.
Hi, thank you for your reply. But you might not get my questions. In the rewrite rules which was generated by HMWP, my theme name was removed, that’s why all my css is missing. I don’t want theme name be removed.
the questioning rewrite rule is as below:(skin is replace /wp-content/themes/)
rewrite ^/skin_main/(.*) /wp-content/themes/mytemplate/$1 last;I checked the source, actually it did as designed for multisite and theme with child theme.
So the problem is either the rewrite rule wrong or my themes name is not changed as the rewrite rule wanted. In my header it is like:
<link rel=’stylesheet’ id=’mobile-css’ href=’http://test.moreweb.space/skin/mytemplate/css/mobile.css’ type=’text/css’ media=’all’ />And when I add a replace in the replace tool and make it like:
<link rel=’stylesheet’ id=’mobile-css’ href=’http://test.moreweb.space/skin_main/css/mobile.css’ type=’text/css’ media=’all’ />
then the link works.I do not want to add the replace and make my template name change, the generated rewrite rule make me to do that. Please help.
-
AuthorPosts