Forums

WP Minify
Pretty URLs don't work when WordPress is installed in a sub-directory (2 posts)

  1. gbeutner
    Member
    Posted 1 year ago #

    When pretty URLs are enabled I'm seeing the following errors in my Apache logs:

    2a01:4f8:140:6ffe:4e2e:1d94:0:1 - - [12/Jun/2011:21:15:45 +0200] "GET /blog/wp-content/plugins/wp-minify/min/?f=wp-includes/js/l10n.js,wp-includes/js/jquery/jquery.js,wp-includes/js/comment-reply.js&b=blog HTTP/1.1" 400 243 "-" "-"

    2a01:4f8:140:6ffe:4e2e:1d94:0:1 - - [12/Jun/2011:21:15:45 +0200] "GET /blog/wp-content/plugins/wp-minify/min/?f=wp-content/themes/platform/style.css,wp-content/plugins/wp-syntax/wp-syntax.css,wp-content/themes/platform/css/dynamic.css&b=blog HTTP/1.1" 400 243 "-" "-"

    The root cause for this seems to be in wp-minify.php line 471:

    `// append base directory if needed
    $base = $this->get_base();
    if ($base != '') {
    $base_string = '&b='.$base;
    } else {
    $base_string = '';
    }`

    XML entities should only be used when embedding the URL in HTML.

    http://wordpress.org/extend/plugins/wp-minify/

  2. erick_paper
    Member
    Posted 1 year ago #

    Did you get any response for this?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags