Hi Marc
I have a SP2013 site with a friendly url http://www.somewhere.com/op-procedures
When in this site, I call $().SPServices.SPCurrentSite() and I get the response back http://www.somewhere.com .
Which does not seem right.
The only thing I can think of is that the javascript is loaded by the master page as it is used all of the place.
But I cannot believe that this is the problem.
It should work should it not ?
I have tried this on SPServices.2013.01 and SPServices.2014.01
Regards
Nigel
Comments: That's a tricky one. I haven't really looked at friendly URLs. However, isn't http://www.somewhere.com technically the correct answer? Or are you looking for the non-friendly location for the page? (This probably should have gone into the discussions to start.) M.
I have a SP2013 site with a friendly url http://www.somewhere.com/op-procedures
When in this site, I call $().SPServices.SPCurrentSite() and I get the response back http://www.somewhere.com .
Which does not seem right.
The only thing I can think of is that the javascript is loaded by the master page as it is used all of the place.
But I cannot believe that this is the problem.
It should work should it not ?
I have tried this on SPServices.2013.01 and SPServices.2014.01
Regards
Nigel
Comments: That's a tricky one. I haven't really looked at friendly URLs. However, isn't http://www.somewhere.com technically the correct answer? Or are you looking for the non-friendly location for the page? (This probably should have gone into the discussions to start.) M.