WordPress.org

Ready to get started?Download WordPress

Forums

Root Relative URLs
It "fixes" ALL URLs, so it break external ones (2 posts)

1 star
  1. bfred.it
    Member
    Posted 8 months ago #

    The plugin is supposed to make local URLs relative, but by mistake it also makes external URLs relative, thus it breaks the website.

    This is how it doesn't work:

    http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js becomes /ajax/libs/jquery/1.10.2/jquery.min.js, which is basically http://yourwebsite.com/ajax/libs/jquery/1.10.2/jquery.min.js

  2. ollybach
    Member
    Posted 5 months ago #

    totally. i just spent 3 hours finding out why things broke (on someone elses site where i didnt have access to the wp-config)
    i cant even begin to start why this is just a bad bad idea

    sorry

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.