Title: URL inside [vc_raw_html] shortcode
Last modified: August 21, 2016

---

# URL inside [vc_raw_html] shortcode

 *  [alainroger](https://wordpress.org/support/users/alainroger-1/)
 * (@alainroger-1)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/url-inside-vc_raw_html-shortcode/)
 * Hi,
 * i have a website i developed on my local computer and now i’m trying to migrate
   it to productive environment.
 * i used as a lot of developers a visudal composer plugin that as several other
   plugins stores html code in MySQL, using the shortcode [vc_raw_html].
 * if a URL is stored inside this tag, duplicator do not migrate it to new location.
 * So is there a switch or a setting that i must configure before migration to fix
   this issue ?
 * thx.
 * [https://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/)

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

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/url-inside-vc_raw_html-shortcode/#post-5072369)
 * That is odd… I have used raw shortcodes without issues… The shortcode should 
   not effect how the translation of data gets handled. Can you run a query before
   and after the install to compare the differences? On the install report (step
   3 of the installer) did you get any errors?
 *  [Alain](https://wordpress.org/support/users/alainroger/)
 * (@alainroger)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/url-inside-vc_raw_html-shortcode/#post-5072397)
 * i installed it without any issue, but i just uncompress the zip file nothing 
   more.
 * here it is what i found:
    visual composer 4.3.1 duplicator 0.5.4 Element having
   issue: RAW HTML ([http://prntscr.com/3zzg48](http://prntscr.com/3zzg48)) of visual
   composer
 * in MySQL here is the code snippet…
    `[vc_raw_html]JTNDYSUyMGNsYXNzJTNEJTIyc2VydmljZS1saW5rJTIyJTIwdGl0bGUlM0QlMjJJJTIwd2FudCUyMGElMjBXZWJzaXRlJTJDJTIwV2Vi...[/
   vc_raw_html]`
 * here it is how to get a clean content… so firstly uncoded with MIME base64 and
   next rawurldecde.
 * rawurldecode(base64_decode(strip_tags($content)));
 * thx
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/url-inside-vc_raw_html-shortcode/#post-5072453)
 * Hey Alian,
 * I see the issue. Duplicator does look for base64 strings and tries to decode 
   them however in the case of that short code it looks like it is intermixing base64
   strings with normal characters, which is normally not a best practices approach.
 * The engine that does the base64 extraction assumes that the entire field is base64
   encoded. The replace engine would have to be written to perform the extraction
   at a more general level on larger text strings, basically detecting the base64
   string inside the larger string, extracting it, replacing it, then safely reconstructing
   it… It would definitely have to be a separate option as doing those types of 
   look ups with PHP could really slow things down.
 * I’ll add the item to the todo list and see if there is a way to work around that
   type of configuration.
 * Cheers~
 *  [zubeldialuis](https://wordpress.org/support/users/zubeldialuis/)
 * (@zubeldialuis)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/url-inside-vc_raw_html-shortcode/#post-5072617)
 * I have the same problem! i follow this treath for news. Thanks!

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

The topic ‘URL inside [vc_raw_html] shortcode’ is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 4 replies
 * 4 participants
 * Last reply from: [zubeldialuis](https://wordpress.org/support/users/zubeldialuis/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/url-inside-vc_raw_html-shortcode/#post-5072617)
 * Status: not resolved