Daniel Llewellyn
Veteran
Just Getting Started
Member Likes (0)
I have enabled domain mapping on http://lauragroomjewellery.co.uk/. However, it appears that the domain mapping filters (namely site_url filter) aren't being applied to wp-includes/script-loader.php for when it calls (line 52 & 421 : http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/script-loader.php) site_url(); This is causing some assets to be loaded from the wrong domain (the original unmapped domain). This is not a problem in plain text mode, but the assets are blocked entirely (or cause warnings) when loading the site through SSL. I am unsure how to get _all_ assets loading from the correct domain.

Responses (30)
DEV Diva (joined February 2012) Likes (0)
Hi diddledan
Thank you for being a member of your Community!
I would first like to recommend that you try re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress. Please check for errors after doing this and let me know the outcome.
I also found 2 useful links on the subject of script loaders. Interesting read and might be of use to you.
http://wpdevel.wordpress.com/2009/02/06/script-loader-updates/
http://wpdevel.wordpress.com/2009/01/15/optimizing-script-loading-implementation/
I look forward to your feedback.
Have a good day!
GinaB
Member (joined May 2011) Likes (0)
I have replaced all wordpress files with a fresh download, including wp-admin and wp-includes files, but the errors still remain. The problem javascript and css files are the in-built (from stock wordpress) jquery.js, the in-built comment-reply.js and the in-built wp-comment-reply.js.
DEV Diva (joined February 2012) Likes (0)
Hi diddledan
Just quickly checking in to see if the problem still persist. Kindly let me know, and if it is no longer an issue, we can get the thread resolved.
If you still require our assistance, please don't hesitate to be in touch.
Have a good day!
GinaB
Member (joined May 2011) Likes (0)
As I stated in my previous message the problem remains despite your advice to replace files with a fresh download. The issue ONLY affects files from wp-includes/ which are queued as per my first post by the stock wordpress install. Your advice about related articles are of no use as they pertain to files that I enqueue myself, and not those queued by the stock wordpress.
DEV Diva (joined February 2012) Likes (0)
Hi @diddledan
Hope you're well.
Sorry that my advice wasn't helpful. I have notified the Developer to have a look at your problem and will revert back to you as soon as possible.
Have a good day!
GinaB
DEV Diva (joined February 2012) Likes (0)
Hi @diddledan
Just a quick note to say that we haven't forgotten about you. We're awaiting feedback from the Developer, but he has been extremely busy with a new release of another plugin. So I apologize for the delay in getting back to you.
I will follow up with the Developer again. In the meantime, if you did manage to solve the problem, please let me know.
Thank you in advance for your patience. I will be in touch shortly.
Have a good day!
GinaB
Support Kangaroo (joined March 2011) Likes (0)
Greetings diddledan,
Just checking in to see if i can be of some assistance in helping you get past the Domain Mapping problem.
Please consider trying WordPress MU Domain Mapping plugin and please let me know if this takes care of your issues.
I know this is not a WPMU Dev plugin but my job is to resolve all member WordPress issues that I can regardless of the source of the solution as long as it is legal.
Therefore I propose this option.
Please advise.
Cheers, Joe
Member (joined May 2011) Likes (0)
without trying the wordpress mu domain mapping plugin by automattic this time around to check that I remember correctly: I recall that the suggested alternative plugin also has this issue; along with several other URLs besides the ones I identified above also pointing to the wrong domain.
Support Kangaroo (joined March 2011) Likes (0)
Greetings diddledan,
After some thought about this ticket and dealing with SSL, without a SSL certificate for the mapped domain we would expect SSL Errors?
Please advise of the SSL certificate situation for the mapped domain while we are awaiting developer input for this anomaly. From my perspective this seems to be an SSL issue rather then a bug in the plugin - but I do not know everything.
FYI, my inquiries in no way shape or form delay developer participation or comment to this ticket.
Please advise.
Cheers, Joe
Member (joined May 2011) Likes (0)
I have an ssl certificate set up and working for the mapped domain, but not the original domain. The idea is that the site be capable of being secure when accessed through the mapped domain. Most elements are correctly loaded using the mapped url with https, but as stated some elements are coming from the unmapped url (as a byproduct therefore only using http) which is causing issues because modern browsers don't display mixed (secure+insecure) content. Even if I had a certificate for the unmapped domain the elements in question would still be loaded via http-only from the unmapped url.
Support Kangaroo (joined March 2011) Likes (0)
Greetings diddledan,
Now I think I understand what is going on here.
Intriguing.
What is it that is asking for or rather more accurately making the http call?
Have you managed to pin this down?
Is it a plugin? The Domain Mapping plugin itself? or a core WordPress function?
Cheers, Joe
Member (joined May 2011) Likes (0)
the files I've identified that are included from the wrong url are:
/wp-includes/js/jquery/jquery.js?ver=1.7.1
/wp-includes/js/comment-reply.js?ver=20090102
/wp-includes/js/wp-ajax-response.js?ver=20091119
(all of those three are core files that are specified (wp_register_script?) by the previously mentioned php code in the first message of this thread)
/files/2011/09/Treasure_Trove_Jewels_Banner1.jpg
(this file is included by the theme (twentyeleven) via the custom header implementation of wordpress core)
The site in question is here: https://lauragroomjewellery.co.uk/
The incorrect unmapped url is http://lgj.b.wl-h.at/
Firebug in firefox will highlight (in the "net" panel, when activated) any elements which are failing to load in red, and also kindly lists the parent domain name of every resource.
Member (joined March 2011) Likes (0)
@diddledan
I am seeing the same issue on my Multi-site wordpress install. It was brought to our attention when trying to use the https plugin and we only see the problem in the admin section. We do not use any theme in the admin section, just default.
The following were not mapped in the admin section...
/wp-admin/load-styles.php?c=1&dir=ltr&load=admin-bar,wp-admin
/wp-includes/js/thickbox/thickbox.css?ver=20111117
Support Kangaroo (joined March 2011) Likes (0)
Greetings diddledan,
As I have mentioned before this is very intriguing.
The lead developer of Domain Mapping has been notified of this anomaly and hopefully he will make it in here sooner then later to offer his invaluable advice on what is possibly going on here or hopefully a cure too.
Sorry for the delay on this.
Cheers, Joe
Support Kangaroo (joined March 2011) Likes (0)
Greetings diddledan,
Just touching base with you to let you know that we have not forgotten about you nor your issue and that I am still hoping to get the lead developer of Domain Mapping in here to address this ticket with his invaluable advice concerning this issue.
Thank you for your patience.
Cheers, Joe
DEV Diva (joined February 2012) Likes (0)
Hi diddledan
Hope you're well.
Just wanted to drop in and say thank you for your patience whilst the Developer sort out this issue.
Have a good day.
Gina
WPMUDEV-ian (joined November 2011) Likes (0)
Hello diddledan,
This is taking longer than usual and we really appreciate your patience while we wait for our lead developer to pitch in and guide us on the same.
Cheers
PC
Member (joined May 2011) Likes (0)
thanks for the continued updates as to the status of this request. It's much appreciated that you are notifying me of progress even though the resolution hasn't become apparent for your developer, yet.
WPMUDEV-ian (joined November 2011) Likes (0)
Heya Diddledan,
Thanks for the nice words and the rating :)
Hopefully we should get a resolution soon !
Cheers
PC
DEV Diva (joined February 2012) Likes (0)
You're welcome Diddledan. We truly appreciate your patience and wish to have this matter resolved at the earliest!
All the best and talk soon again :)
Gina
Developer (joined June 2008) Likes (1)Liked by: 
Hi, sorry for the delay - I've been working on an update which should be available for testing pretty soon
WPMUDEV-ian (joined November 2011) Likes (0)
Yipeee !!! Barry Rocks ! :)
Cheers
PC
Support Kangaroo (joined March 2011) Likes (0)
Greetings diddledan,
Just touching base with you to let you know we have not forgotten about you nor your issue and look forward to Barry's hinted at release which I hope resolves your Domain Mapping issue.
Cheers, Joe
WPMUDEV-ian (joined November 2011) Likes (0)
Heya diddledan,
Just posting to let you know that we are still around and are waiting for Barry's next release of this plugin :)
Cheers
PC
Support Kangaroo (joined March 2011) Likes (0)
Greetings diddledan,
Just churning this ticket to keep it from falling off into the ticket system abyss.
Thank you for your demonstrated patience on this one.
Cheers, Joe
DEV Diva (joined February 2012) Likes (0)
Hi @Daniel Llewellyn
I am waiting with you for the next release of the Domain Mapping plugin :) You have demonstrated such amazing patience and we really appreciate it. The Developer has been extremely busy with this, so hopefully not too long anymore.
Have a good day and talk soon again!
Gina
People Person (joined February 2012) Likes (0)
Can you please confirm that the Aug 1st release of this update fixed your issue?
Thanks!
Member (joined May 2011) Likes (0)
I'd love to confirm that it did, but it didn't so I can't. The issue still remains.
People Person (joined February 2012) Likes (0)
Boo!
Well I'll notify the developer :)
@Barry- have we addressed this one yet?
Support Kangaroo (joined March 2011) Likes (0)
Greetings,
Member is no longer active.
Marking ticket as resolved.
Cheers, Joe
Become a member