Title: URL incorrectly formatted
Last modified: August 19, 2020

---

# URL incorrectly formatted

 *  Resolved [Lewis Tyler](https://wordpress.org/support/users/tylerjfrags/)
 * (@tylerjfrags)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/url-incorrectly-formatted/)
 * Hi there, having trouble when trying to add products to Facebook
 * I have a screenshot of the fault report here: [https://imgur.com/wEi0fuU](https://imgur.com/wEi0fuU)
 * Is this to do with the product URL itself being incorrectly formatted, or the
   image URLs?

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

 *  [Christine, SkyVerge Support](https://wordpress.org/support/users/christineskyverge/)
 * (@christineskyverge)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/url-incorrectly-formatted/#post-13307022)
 * Hi [@tylerjfrags](https://wordpress.org/support/users/tylerjfrags/)
    ​ ​Thanks
   for the details and screenshot, it’s a great help! I’ll be happy to help out 
   here 🙂 ​ ​From the screenshot, the URL to the image seems to be the issue here.
   It looks like the paths start with `/app/uploads/…` when it needs to have the
   entire path `https://example.com/app/uploads/…`. ​ ​This might be a theme or 
   plugin conflict. Would you be willing to disable all plugins except WooCommerce
   and Facebook, and use one of the default themes, such as Twenty Twenty? If the
   problem goes away, enable them one by one to identify the source of your troubles.
 * You could do this manually or install and activate “Health Check”: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
 * It will add some additional feature under create a new menu position **Tools 
   > Site Health.**
    ​ On its troubleshooting tab, you can Enable Troubleshooting
   Mode. This will disable all plugins, switch to a standard WordPress theme (if
   available), allow you to turn your plugins on and off and switch between themes,**
   without affecting normal visitors to your site**. This allows you to test for
   various compatibility issues.
 * ​There’s a more detailed description about how to use the Health Check plugin
   and its Troubleshooting Mode at [https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/](https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/)
 * ​Thanks!
    Christine
    -  This reply was modified 5 years, 9 months ago by [Christine, SkyVerge Support](https://wordpress.org/support/users/christineskyverge/).
    -  This reply was modified 5 years, 9 months ago by [Christine, SkyVerge Support](https://wordpress.org/support/users/christineskyverge/).
 *  Thread Starter [Lewis Tyler](https://wordpress.org/support/users/tylerjfrags/)
 * (@tylerjfrags)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/url-incorrectly-formatted/#post-13311102)
 * Hi Thanks for writing back
 * Our website is set up on the Roots Bedrock platform ([https://roots.io/bedrock](https://roots.io/bedrock))
   which installs WP as a subdirectory at [https://example.com/wp](https://example.com/wp)
 * Is it possible that this is the issue? We do have an NGINX redirect for image
   files that will point to the /wp/ subdirectory, so it seems something else is
   up here
 * Any further insight would be greatly appreciated
 *  [Christine, SkyVerge Support](https://wordpress.org/support/users/christineskyverge/)
 * (@christineskyverge)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/url-incorrectly-formatted/#post-13316089)
 * Hey [@tylerjfrags](https://wordpress.org/support/users/tylerjfrags/)
 * Thanks for that additional information, it’s a great help. Could you also give
   me some detail on the trouble you’re having with adding products to Facebook?
   Are they not being added at all or is only the images missing?
 * Based on what we know so far about the issue here, it’s quite possible that the
   Roots platform, custom code, or a plugin could be altering the image URL; or 
   preventing it from being correctly redirected.
 * Another thing you can do is to find out if something is filtering the output 
   of the `wp_get_attachment_url()` function.
 * That’s the function we use to get the image URL, so if something is filtering
   that, it might cause issues with adding production to Facebook.
 * Does this help?
 * Thanks!
    Christine
 *  [Christine, SkyVerge Support](https://wordpress.org/support/users/christineskyverge/)
 * (@christineskyverge)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/url-incorrectly-formatted/#post-13371801)
 * [@tylerjfrags](https://wordpress.org/support/users/tylerjfrags/)
 * It has been a while since we heard from you, so I’m going to mark this topic 
   as resolved. If you’re still experiencing issues please [take a look at our documentation](https://docs.woocommerce.com/document/facebook-for-woocommerce/)
   for more information and [create a new thread](https://wordpress.org/support/plugin/facebook-for-woocommerce/#new-topic-0)
   if you have further questions.
 * Thanks,
    Christine

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

The topic ‘URL incorrectly formatted’ is closed to new replies.

 * ![](https://ps.w.org/facebook-for-woocommerce/assets/icon.svg?rev=3469606)
 * [Meta for WooCommerce](https://wordpress.org/plugins/facebook-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-for-woocommerce/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Christine, SkyVerge Support](https://wordpress.org/support/users/christineskyverge/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/url-incorrectly-formatted/#post-13371801)
 * Status: resolved