I recently tried to install the plugin “Use Google Libraries” for WordPress but it didn’t work because all its URLs where rewritten by the plugin “Root Relative URLs”. This can be solved with a black list url…
Click to Read More
Concretely, the plugin “Use Google Libraries” uses URLs like src=’//ajax.googleapis.com/ajax/libs/…’. Those were rewritten by mistake into src=’/ajax/libs/…’
I couldn’t disable the plugin “Root Relative URLs” as it’s the only way to make my blog accessible seamlessly from both internet and my intranet, using either the netbios name of my NAS, its IP or its dynamic DNS name.
So, I tried to add //ajax.googleapis.com in the “black list urls” of “Root Relative URLs”. Those can be set in the Dashboard > Settings > General > (scroll to the bottom) “
Unfortunately it didn’t work… Until Hube2, who wrote a hack of “Root Relative URLs”, told me how to set it correctly: one may not use the domain name in the black listed URL’s.
Conclusion, in my case, I had to black list “ajax/libs”, et voilà!
Leave a Reply