WordPress CDN Rewrite
No URLs get rewritten (7 posts)

  1. giorgosnl
    Posted 3 years ago #

    Unfortunately no URLs get rewritten. I used host rewrite, the file type and the cloudfront url, but it didn’t work.


  2. datawench
    Posted 3 years ago #

    Same here. It may be some ambiguity in the instructions, or something to do with how full paths are handled, but I'm seeing no effect at all.

  3. frinkky
    Posted 3 years ago #

    Similar issue. At first, a php error appeared when trying to view settings page. It was looking for functions.php in the /html folder, but changing the path in html/config appeared to fix that. No rewriting of named extension resources though.

  4. phirefly
    Posted 3 years ago #

    same here; no urls rewritten....no error message

  5. krossekrabbe
    Posted 2 years ago #

    He has done some strange coding, there is no chance this plugin version was ever working.

    Replace line 188 of class-wpcdnrewrite.php with the following code and it should do:

    if ( version_compare( $version, '1.0' ) >= 0 ) {

  6. Christiaan Conover
    Posted 2 years ago #

    I'm seeing the same issue. No URL rewriting is happening.

  7. gsutcliffe
    Posted 2 years ago #

    Your solution worked krossekrabbe. Thanks. Afterwards CDN was fine and everything was fine but we were receiving a lot of errors in the error log. These two changes brought the errors to zero:

    line 188:
    if (( strcmp( $version, '1.0' ) >= 0 ) && strlen($content)) {

    link 195:
    @$dom->loadHTML( $content );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress CDN Rewrite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.