WordPress.org

Ready to get started?Download WordPress

Forums

WordPress CDN Rewrite
No URLs get rewritten (7 posts)

  1. giorgosnl
    Member
    Posted 2 years ago #

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

    http://wordpress.org/extend/plugins/wordpress-cdn-rewrite/

  2. datawench
    Member
    Posted 2 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

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

  5. krossekrabbe
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

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

  7. gsutcliffe
    Member
    Posted 1 year 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

About this Topic

Tags

No tags yet.