Support » Fixing WordPress » parse_url problem in redirect_canonical

  • Hi there,

    There can be an issue in redirect_canonical function in case is $requested_url evaluates to false and the $_SERVER[‘HTTP_HOST’] param is not set.

    @parse_url( $requested_url ) will be: [“path”=> “”]

    And the method execution after that will trigger PHP notices.

    Thanks for your support

Viewing 1 replies (of 1 total)
  • Moderator bcworkz


    Which method execution are you referring to? Please describe steps to reproduce the PHP notices that you are getting.

Viewing 1 replies (of 1 total)
  • The topic ‘parse_url problem in redirect_canonical’ is closed to new replies.