Title: model_url param
Last modified: November 6, 2020

---

# model_url param

 *  [stevevu](https://wordpress.org/support/users/stevevu/)
 * (@stevevu)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/model_url-param/)
 * Hi,
 * Thank you for the great plugin!!!
 * I tried to use a root relative URL for my `model_url` parameter but the plugin
   seems to convert it to relative to your plugins directory. For example, if I 
   use:
 * `model_url="/wp-content/uploads/3d/myfile.fbx"`
 * the resulting url is:
 * [https://example.com/wp-content/plugins/vrm360/demo//wp-content/uploads/3d/DemoSpace%20v3.fbx](https://example.com/wp-content/plugins/vrm360/demo//wp-content/uploads/3d/DemoSpace%20v3.fbx)
 * But if I use an absolute URL, it seems to use the correct location:
 * `model_url="https://example.com/wp-content/uploads/3d/myfile.fbx"`
 * Is there any way to use a root relative URL so when I deploy my site from dev
   to production, I don’t need to update this path?
 * thanks!
    Steve
    -  This topic was modified 5 years, 5 months ago by [stevevu](https://wordpress.org/support/users/stevevu/).
    -  This topic was modified 5 years, 5 months ago by [stevevu](https://wordpress.org/support/users/stevevu/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [maui2wp](https://wordpress.org/support/users/maui2wp/)
 * (@maui2wp)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/model_url-param/#post-13630152)
 * [@stevevu](https://wordpress.org/support/users/stevevu/) ATM a solution would
   be to map your local server to your web page url, using a host file mapping:
   
   [https://en.wikipedia.org/wiki/Virtual_hosting](https://en.wikipedia.org/wiki/Virtual_hosting)
 * BTW would you mind to review my plugin…
    [https://wordpress.org/support/plugin/vrm360/reviews/?rate=5#new-post](https://wordpress.org/support/plugin/vrm360/reviews/?rate=5#new-post)
   🙂

Viewing 1 replies (of 1 total)

The topic ‘model_url param’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/vrm360_c1c7e5.svg)
 * [Vrm 360 3D Model Viewer](https://wordpress.org/plugins/vrm360/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/vrm360/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/vrm360/)
 * [Active Topics](https://wordpress.org/support/plugin/vrm360/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/vrm360/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/vrm360/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [maui2wp](https://wordpress.org/support/users/maui2wp/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/model_url-param/#post-13630152)
 * Status: not resolved