Title: QR code link without &quot;bitcoin:&quot;
Last modified: August 21, 2016

---

# QR code link without "bitcoin:"

 *  [Qjuf](https://wordpress.org/support/users/qjuf/)
 * (@qjuf)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/qr-code-link-without-bitcoin/)
 * In browser (Opera, Explorer, Chrome) when I placed order i see QR code that i
   can click. But the link looks like : [http://bitcoin](http://bitcoin) adress..
   
   In the settings i see also: <a href=”//{{{BITCOINS_ADDRESS}}}?……… and the most
   interesting fact that i see <a href=”//{{{BITCOINS_ADDRESS}}}?…….. in gray field
   next to field that i can change..??
 * But it should be: <a href=”bitcoin://{{{BITCOINS_ADDRESS}}}?
 * I am trying to add “bitcoin:” before //{{{BITCOINS_ADDRESS}}}? in settings but
   it disappear after i save it. ???
 * In bwwc-bitcoin-gateway.php i see correct line <a href=”bitcoin://{{{BITCOINS_ADDRESS}}}?…
   and I have ho idea how is it cuted and by whom.
 * Any ideas?
 * [http://wordpress.org/plugins/bitcoin-payments-for-woocommerce/](http://wordpress.org/plugins/bitcoin-payments-for-woocommerce/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [oraclealchemist](https://wordpress.org/support/users/oraclealchemist/)
 * (@oraclealchemist)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/qr-code-link-without-bitcoin/#post-4064192)
 * I’m having this same issue. I tried changing it in the file and on the page, 
   but it keeps stripping out “bitcoin” in the href section. I’m not sure if this
   is a WordPress thing or this plugin.
 *  [oraclealchemist](https://wordpress.org/support/users/oraclealchemist/)
 * (@oraclealchemist)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/qr-code-link-without-bitcoin/#post-4064193)
 * Aha! I think I found the problem. WP limits allowed protocols in their clean_url
   function. You can disable the function or add the bitcoin protocol!
 * [http://wordpress.org/support/topic/external-protocols-in-blogrolllinks-manager?replies=5](http://wordpress.org/support/topic/external-protocols-in-blogrolllinks-manager?replies=5)
 * I was able to change it on WordPress 3.5.2 by changing line 3749 of wp-includes/
   functions.php to:
 * `$protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc','
   gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp','
   bitcoin' );`

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘QR code link without "bitcoin:"’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bitcoin-payments-for-woocommerce.
   svg)
 * [Bitcoin Payments for WooCommerce](https://wordpress.org/plugins/bitcoin-payments-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bitcoin-payments-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bitcoin-payments-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/bitcoin-payments-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bitcoin-payments-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bitcoin-payments-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [oraclealchemist](https://wordpress.org/support/users/oraclealchemist/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/qr-code-link-without-bitcoin/#post-4064193)
 * Status: not resolved