Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
I';我已将此社交按钮代码插入Magento。为什么产品url现在是乱码?_Magento_Url_Hyperlink_Product - Fatal编程技术网

I';我已将此社交按钮代码插入Magento。为什么产品url现在是乱码?

I';我已将此社交按钮代码插入Magento。为什么产品url现在是乱码?,magento,url,hyperlink,product,Magento,Url,Hyperlink,Product,我的产品页面的url现在是乱码。示例链接: http://www.chouchoudress.com/product/fabulous-asymmetrical-ruffles-prom-graduation-dress-with-one-crystal-straps.html#.UR-CjfKptdt 链接中添加的乱码是#.UR CjfKptdt,特别是#前面的某种代码 有人能告诉我为什么吗?您已经开始在社交网络中使用AddThis,但没有人警告您使用他们的社交链接跟踪功能的影响 AddThi

我的产品页面的url现在是乱码。示例链接:

http://www.chouchoudress.com/product/fabulous-asymmetrical-ruffles-prom-graduation-dress-with-one-crystal-straps.html#.UR-CjfKptdt

链接中添加的乱码是
#.UR CjfKptdt
,特别是
#
前面的某种代码


有人能告诉我为什么吗?

您已经开始在社交网络中使用AddThis,但没有人警告您使用他们的社交链接跟踪功能的影响

AddThis在URL的末尾添加hash snot(
#.
和一个标识符),以便跟踪从网站粘贴到博客文章、评论等中的链接,从而中断Magento中的功能

只需对插入的AddThis javascript片段进行简单更改,即可删除hash snot


在AddThis javascript代码段中找到带有
数据\u track\u地址栏的行,然后将其删除。这将关闭用于跟踪粘贴链接的哈希字符串

…也许引用上下文会更有帮助?另一位Magento网站所有者因使用AddThis在其网站上放置社交疾病按钮而绊倒。很高兴能提供帮助,
垃圾对我的开发服务器产生了奇怪的影响,直到我找到它。老板们想要这些按钮,幸运的是,我没有使用带有代码add的模板。这是对我的唾沫,否则我们会有骂人的客户。。。这不是一件好事。