Open paramir opened 9 years ago
To be honest, I don't know what could be causing the error. More than likely there is some URL that should be absolute and being changed by this plugin, like the URL of an external script.
I'm really not maintaining this or even using any more. I have posted more information on in the readme about this. I used to use it for development myself but I have found that adding the following 2 lines of code to my wp-config.php removes the need to worry about the URLs.
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
hi John,
thank you very much for your quick and brilliant answer! that does seem to do the work just perfect!
Have a wonderful new year, all the best, Ehud.
On 26 dec. 2014, at 05:03, John A. Huebner II wrote:
To be honest, I don't know what could be causing the error. More than likely there is some URL that should be absolute and being changed by this plugin, like the URL of an external script.
I'm really not maintaining this or even using any more. I have posted more information on in the readme about this. I used to use it for development myself but I have found that adding the following 2 lines of code to my wp-config.php removes the need to worry about the URLs.
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']); define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']); — Reply to this email directly or view it on GitHub.
Hi there, First of all, thank you for keeping this version! I also use the plugin a lot to be able to develop locally and test on multiple devices. I am now working on site where I use the Woocommerce plugin, and when I activate the Root Relative URLs plugin I keep getting the "Uncaught SyntaxError: Unexpected token <" error message (in Chrome devtools). Any idea why? Hope you could help out here!
Marry Christmas!