Title: Fetching URL Incorrectly
Last modified: February 15, 2017

---

# Fetching URL Incorrectly

 *  Resolved [Josh](https://wordpress.org/support/users/summitmeats/)
 * (@summitmeats)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/fetching-url-incorrectly/)
 * Hello.
    Have been doing some work on our website over at [https://www.summitmeats.com/](https://www.summitmeats.com/)
   and noticed that something I did broke the NextGenGallery Plugin. I have narrowed
   down the issue to it simply not adding a / before the ‘wp-content/’ directory
   as you can see by debugging with inspect element in Safari here: [https://cryptoseb.pw/uploads/screenshot_14:14:38.png](https://cryptoseb.pw/uploads/screenshot_14:14:38.png)
 * I have attempted to add the ‘/wp-content/’ directory with the forward slash in
   the settings: [https://cryptoseb.pw/uploads/screenshot_14:19:03.png](https://cryptoseb.pw/uploads/screenshot_14:19:03.png)
   and also attempted to add a / to the end of the URL in both my ‘wp-config.php’
   file [https://cryptoseb.pw/uploads/screenshot_14:20:46.png](https://cryptoseb.pw/uploads/screenshot_14:20:46.png)
   as well as in my MySQL DB here: [https://cryptoseb.pw/uploads/screenshot_14:22:06.png](https://cryptoseb.pw/uploads/screenshot_14:22:06.png)
   and here: [https://cryptoseb.pw/uploads/screenshot_14:22:29.png](https://cryptoseb.pw/uploads/screenshot_14:22:29.png)
 * Still experiencing issues. Any clues as to why? If anything, it should be doubling
   up the slash in the URL like this: `https://www.summitmeats.com//wp-content/`
   instead of omitting it? I’m at a loss for what to try next for troubleshooting.
   Last backup would have been 3-4 weeks ago so that is kind of out of the question
   as I have made changes since then, sadly.
 * Thanks in Advance for any support.
    Summit Meats & Sausage
 * Site Details: [https://cryptoseb.pw/uploads/screenshot_14:24:31.png](https://cryptoseb.pw/uploads/screenshot_14:24:31.png)
 * **Edit: upon clicking Show Thumbnails, I was able to determine that it doesn’t
   handle the URl/Directory incorrectly and loads the images just fine. Pretty confused
   at this point haha**
    -  This topic was modified 9 years, 4 months ago by [Josh](https://wordpress.org/support/users/summitmeats/).
      Reason: More Evidence to Solve The Case o..O

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

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/fetching-url-incorrectly/#post-8813310)
 * [@summitmeats](https://wordpress.org/support/users/summitmeats/) – The problem
   is stemming from within your theme and its use of the “relative URL” option. 
   This is either via the SOIL plugin or the theme itself (as part of the Roots /
   Soil theme family).
 * If you deactivate the use relative URL option you should see things correct themselves.
 * Thanks!
 * – Cais.
 *  Thread Starter [Josh](https://wordpress.org/support/users/summitmeats/)
 * (@summitmeats)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/fetching-url-incorrectly/#post-8813406)
 * No clue how to do that haha. Thanks for the input though. I will hop on Google
   today and do some looking around 🙂
 * Appreciate it.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/fetching-url-incorrectly/#post-8813478)
 * [@summitmeats](https://wordpress.org/support/users/summitmeats/) – Have a look
   for the following references within your theme’s code:
 * `add_theme_support('soil-relative-urls');`
 * A good start might be here: [https://github.com/roots/soil](https://github.com/roots/soil)
 * This WordPress core function might be worth looking at as well: [https://codex.wordpress.org/Function_Reference/remove_theme_support](https://codex.wordpress.org/Function_Reference/remove_theme_support)
 * Thanks!
 * – Cais.
 *  Thread Starter [Josh](https://wordpress.org/support/users/summitmeats/)
 * (@summitmeats)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/fetching-url-incorrectly/#post-8813882)
 * I have searched high and low through all of the Plugin files as well as some 
   others inside the root document folder on our server where they WordPress files
   are being hosted and still nothing.
 * Want to make $40? lol.I am incredibly busy right now getting ready for a big 
   International trip tomorrow. This one of those I’ll throw money at it to fix 
   it issues…
 * Edit: I also reinstalled from a backup and that didn’t work so I am assuming 
   it isn’t an issue with any of the server files but likely something either with
   our CloudFlare setup or inside of the Database.
 * Edit2: You are right. I changed the theme to TwentyEleven and it worked fine.
   Frick. $40USD is my offer haha. I can give you access to whatever you would need
   😛
    -  This reply was modified 9 years, 4 months ago by [Josh](https://wordpress.org/support/users/summitmeats/).
 *  Thread Starter [Josh](https://wordpress.org/support/users/summitmeats/)
 * (@summitmeats)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/fetching-url-incorrectly/#post-8814920)
 * That should say “Theme” not “Plugin”. Although I did search there too.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/fetching-url-incorrectly/#post-8817608)
 * [@summitmeats](https://wordpress.org/support/users/summitmeats/) – Thanks for
   the offer although it would likely be better to make that on the WordPress Jobs
   board (see the link below, or here: [http://jobs.wordpress.net/](http://jobs.wordpress.net/))
 * – Cais.

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

The topic ‘Fetching URL Incorrectly’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/fetching-url-incorrectly/#post-8817608)
 * Status: resolved