Title: Replace string question / bug?
Last modified: August 21, 2016

---

# Replace string question / bug?

 *  Resolved [ClaireF](https://wordpress.org/support/users/clairef/)
 * (@clairef)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/replace-string-question-bug/)
 * All great with this plugin save that the replace does not seem to be working.
   Trying to replace content as follows:
 * replace=”=’/wiki” with=”=’[http://en.wikipedia.org/wiki”%5D](http://en.wikipedia.org/wiki”%5D)
 * but URL is still returning mine instead; tried with some other variants as well
   but replace seems not to be taken into consideration.
 * Thx for any suggestions
 * [https://wordpress.org/plugins/shortcurl/](https://wordpress.org/plugins/shortcurl/)

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

 *  Plugin Author [Eli](https://wordpress.org/support/users/scheeeli/)
 * (@scheeeli)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/replace-string-question-bug/#post-5042522)
 * I believe wikipedia.org uses DoubleQuotes around their href values, so maybe 
   my shortcode is not replacing any “=’/wiki” in the content because it’s not finding
   any?
 * Try this:
    replace=’=”/wiki’ with=’=”[http://en.wikipedia.org/wiki’%5D](http://en.wikipedia.org/wiki’%5D)
 * Please let me know how this resolution works for you, and mark this topic resolved
   if it works.
 * Aloha, Eli
 *  Thread Starter [ClaireF](https://wordpress.org/support/users/clairef/)
 * (@clairef)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/replace-string-question-bug/#post-5042537)
 * Perfect! thanks

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

The topic ‘Replace string question / bug?’ is closed to new replies.

 * ![](https://ps.w.org/shortcurl/assets/icon-256x256.png?rev=1057953)
 * [EZ SHORTCURL Shortcodes to Fetch and Parse External Content](https://wordpress.org/plugins/shortcurl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcurl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcurl/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcurl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcurl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcurl/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ClaireF](https://wordpress.org/support/users/clairef/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/replace-string-question-bug/#post-5042537)
 * Status: resolved