nyhotdogman
Forum Replies Created
-
AuthorPosts
-
Hi Paolo,
thanks for your answer. Yes I understand 100%
My developers were able to fix the issue we were having –> the search results were not sorting by neareast first, as the distance seemed not to be fully correct. This is what my developers did (maybe you can let me know if this is a plugin bug or what the rational behind this is):
The plugin’s default code for this is:
$fields .= ” , (“.$DistanceRadius.” * 2 * ASIN(SQRT( POWER(SIN(($mylat – ABS(“.$table.”.post_latitude)) * pi()/180 / 2), 2) +COS($mylat * pi()/180) * COS( ABS(“.$table.”.post_latitude) * pi()/180) *POWER(SIN(($mylon – “.$table.”.post_longitude) * pi()/180 / 2), 2) )))as distance “;
–> my developers removed the “ABS(..” from this code and then the sort by/distance calculation worked like a charm. The ABS function seems to return absolute values which does not really work for coordiantes (which have a “-“). Is this a bug or did you guys have a reason for adding this?
Thanks a lot,
PeterHi,
well yeah…our company policies are a bit strict in terms of giving out credentials ; I’ll have to get back on that
Thanks
Hi Paolo,
thanks for that – could it create issues when changing that primary location (e.g. changing that to a different location and possibly deleting the old primary location – as said we are using multi location) ; we are having some issues in terms of sorting by distance correctly…possibly a database issue?
Thanks
Hi,
quick question:
What is the “default city” for in the multilocation>manage location settings?
Thanks,
PeterHi,
nope, does not solve the issue. We will try our own solution.
Hi,
okay – but why is this not functional when organizing images NOT in month and year structure? Can you confirm this creates issues?
Hi Paolo,
thanks for your answer. I agree to most of that…at least to part 2 –> whereas crawlers get to all sorts of places so you never know…also as I do not have contral over incoming links a user may place somwhere. I will have my developer look into it and possibly come up with an automatic noindex/canonical or redirect function.
Thanks,
Sebastianok…sorry to hear there is no easier way
?
What kind of explanation is that? The whole point is that I have the SAME listing which is accessible under different URLs and has different breadcrumbs. I want to have ONE site for “Frank’s New York Steak house” and not 6 which will all be for THAT listing. This makes 0.0 sense. If this is the way the plugin is built I am shocked nobody has pointed this out. This is SEO 101.
Your answer to me shows that it seems there is a great lack in what is considered being “duplicate content”. I suggest you have a great look at that: http://moz.com/learn/seo/duplicate-content
What we are doing is giving out the SAME listing under different URLs ; different breadcrumbs make no difference at all, as the LISTING is the SAME. It make 0 sense to have different URLs and different breadcrumbs.
I heavily suggest you guys look into this, as this basically makes the entire plugin not SEO functional. The only fix you guys could add would be to add 301s pointing to “the” currect listing page ; or possibly add an automatic noindex to all those other duplicates.
Please update me on this…that really is a bummer
Thanks for thr quick answer – well I did not have the option to remove the subscription on paypal ; it already said “expired”. I assume all is fine and hopefully won’t have to ask for support in 4 months from now 😀
Thanks and have a nice day,
Sebastian -
AuthorPosts