我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

WooCommerce防止格式化数字链接

On WooCommerce when I add a digital link to a product, after saving the page the link format is broken. (erasing the %)

Example is the original link (i need to keep)
https://duckduckgo.com/l/?kh=-1&uddg=http%3A%2F%2Fgoo.gl%2Fq6gdgL

And after recording it becomes.
https://duckduckgo.com/l/?kh=-1&uddg=httpgoo.glq6gdgL

How to keep the formatting of %?
Is there a possibility to change the php source code?

Just try to add the link like this:

https://duckduckgo.com/l/?kh=-1&uddg=http://goo.gl/q6gdgL

You have tried to add your URL encode.
Have a look at HTML URL Encoding Reference to understand what I mean.

近期文章

  • 当值存在时,PHP获取XML节点属性
  • 如何在PHP中进行特殊字符验证
  • 基于php中的特定值合并数组
  • 大尺寸的图像在jcrop中没有正确的劈开
  • Laravel 5迁移标识符名称太长
  • 方法名称作为Laravel API中的POST参数
  • 为什么多个数据不会插入此代码中
  • 如何在PHP中用空字符串替换0
  • 需要帮助重构查询/数据库设计
  • PHP脚本停止处理警告错误?
  • 为什么我们要为一个网站使用两台服务器[关闭]
  • 建议框未显示最近的输入
  • 使用php阻止url指定文件夹或路径
  • 单击链接/按钮上的Jquery / AJAX更新表
  • 在Codeigniter控制器中使用ZendAMF
  • PHP检查字符串是否包含没有http://的URL
  • Zend_Db_Table插入大内容的问题
  • 如何将SimpleXML对象转换为PHP数组?
  • Zend Framework 2依赖注入混淆
  • PHP OR运算符有问题吗?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华