Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Daniel

    (@dannisbet)

    Good catch. I’ll work on getting that fixed in the next update.

    I was just about to suggest replacing site_url() with home_url() as that would have fixed the problem I’m having with using WordPress as a Composer dependency in a subfolder. But greeso’s suggestion of getting wp-content with a function like content_url() make more sensse.

    @greeso – As a temporary fix until the next update to this plugin, I added a custom rewrite rule to my .htaccess so that (in my case) /wp/wp-content/ requests were forwarded to the right location.

    RewriteRule ^wp/wp-content/(.*)$ /wp-content/$1 [R=301,NC,L]

    Adjust as needed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom images do not work when using custom wp-contents folder’ is closed to new replies.