Title: Plugin redirecting to wrong url
Last modified: March 10, 2018

---

# Plugin redirecting to wrong url

 *  [jonneroeland](https://wordpress.org/support/users/jonneroeland/)
 * (@jonneroeland)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/plugin-redirecting-to-wrong-url/)
 * Hi,
 * My instagram feed plugin is sending people to [https://instagram.com/](https://instagram.com/)
   and redirecting to [https://www.instagram.com/](https://www.instagram.com/). 
   This takes useless time. How do I fix this?
 * Thanks!
 * Jonne Roeland
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-redirecting-to-wrong-url%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/plugin-redirecting-to-wrong-url/#post-10061117)
 * Hey Jonne,
 * The only link to Instagram in our plugin is through the “Follow on Instagram”
   button underneath your “Load More” button. It looks like the url for this link
   is the correct one: [https://instagram.com/mokumsurfclub](https://instagram.com/mokumsurfclub).
 * You have two other links on the page that use the “www” that are causing this
   redirect. You may need to contact the theme author or plugin author that is creating
   those links.
 * Let me know if this isn’t what you’re seeing!
 * Thanks,
 * Craig
 *  Thread Starter [jonneroeland](https://wordpress.org/support/users/jonneroeland/)
 * (@jonneroeland)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/plugin-redirecting-to-wrong-url/#post-10066252)
 * Hey Craig,
 * Thanks for the reply. The url is not right. ‘Www’ is missing. Can it be solved?
 * Kind regards,
 * Jonne
 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/plugin-redirecting-to-wrong-url/#post-10067797)
 * Ahh sorry I was misunderstanding. I see now that the correct address has a “www”.
   We will change this in an update. In the mean time, you can add this to the “
   Custom JavaScript” area on the “Customize” tab:
 * `jQuery('.sbi_follow_btn a').attr('href',jQuery('.sbi_follow_btn a').attr('href').
   replace('https://','https://www.'));`
 * This will fix that link.
 *  Thread Starter [jonneroeland](https://wordpress.org/support/users/jonneroeland/)
 * (@jonneroeland)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-redirecting-to-wrong-url/#post-10082713)
 * When can we expect this update?
 * Thanks!
 * Kind regards,
 * Jonne
 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-redirecting-to-wrong-url/#post-10084572)
 * Hey Jonne,
 * There isn’t a timeline for the next release at the moment but if you wanted to
   fix this in the source code, you can find the url on line 150 of the instagram-
   feed.php file.
 * Hopefully that helps!
 * – Craig

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

The topic ‘Plugin redirecting to wrong url’ is closed to new replies.

 * ![](https://ps.w.org/instagram-feed/assets/icon-256x256.png?rev=2700807)
 * [Smash Balloon Social Photo Feed – Easy Social Feeds Plugin](https://wordpress.org/plugins/instagram-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/instagram-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/instagram-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/instagram-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/instagram-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/instagram-feed/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-redirecting-to-wrong-url/#post-10084572)
 * Status: not resolved