[Resolved] Content URL conflict if on another domain
My current blog url is in the format of http://sitename.com and the WP_CONTENT_URL is set for a cookie-less subdomain on another domain – where PHP is not enabled http://sitename.otherdomain.com ( it’s purely for fast content serving! )
Due to that it seems that some features of WP_Insert are not working, such as country selection in the pop up. Google Chrome Inspector produces the following errors
Failed to load resource: the server responded with a status of 404 (Not Found) http://sitename.otherdomain.com/plugins/wp-insert/includes/common/popups/countries.php?data=&target=wp-insert-inpostads-above-content-country_1
( most likely due to php being disabled, the country list however loads )
Then when pressing the green OK button, after selecting a few areas, nothing happens with the following errors :
Uncaught TypeError: Property 'jQuery' of object [object Window] is not a function
These errors are straight-forward. The fixing would most likely be by using the site-url for the admin area features, so your script would stay on the same domain and would not have problems with dynamic .js through the php script.
PS : Is it possible to set custom areas where advertisements will be placed? E.g. I’d like to have one ad area displayed in a certain pre-formatted box for example.
- The topic ‘[Resolved] Content URL conflict if on another domain’ is closed to new replies.