Run “Use Google Libraries” and “Root Relative URLs” plugins for WordPress Side by side

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à!

Loading


Categories:

Tags:


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *