Home Forums WordPress Plugins Hide My WP WP Rocket Minify + Image URL Rewrite

This topic is: not resolved
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #5678
    ashraj98
    Active
    Post count: 11

    Two minor issues and this could be the best plugin of them all. First of all, I am using WP Rocket. I did the replace URLs as suggested here, and it works, but the page includes both the minified Javascript file and all the regular, not minified files. Also, the minified file does not get rid of the comments.

    Second, there are two images from my theme that aren’t having their URLs rewritten. I had applied a few test lines in .htaccess, and I was successfully able to rewrite them. So how can I get your plugin to rewrite them?

    #5679
    ashraj98
    Active
    Post count: 11
    This reply has been marked as private.
    #5685
    Suman M.
    Post count: 12480
    This reply has been marked as private.
    #5694
    ashraj98
    Active
    Post count: 11
    This reply has been marked as private.
    #5715
    Suman M.
    Post count: 12480
    This reply has been marked as private.
    #5722
    ashraj98
    Active
    Post count: 11
    This reply has been marked as private.
    #5826
    ashraj98
    Active
    Post count: 11
    This reply has been marked as private.
    #5837
    ashraj98
    Active
    Post count: 11

    Update: I think the problem is that the files that aren’t being rewritten are being referenced absolutely in the CSS file. So the browser just pulls this file. I think a solution to this is a search and replace CSS function like the search and replace HTML function you have.

    #5844
    Suman M.
    Post count: 12480

    Hi, sorry for the late reply. We’ll need to look further into this and we hope to fix the issue in the upcoming versions of the plugin. Thanks!

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.