Author Topic: How to change MEDIA URL  (Read 704 times)


  • Beginner
  • *
  • Posts: 16
How to change MEDIA URL
« on: April 10, 2018, 19:17:36 pm »

I searched the forum but only found posts about old Virtuemart versions, so

I need to change the Media Files URL but changing the "Media Files Settings" in the Configuration Templates tab area did not worked, this is what I changed:

Category Media URL: images/store/category/
Product Media URL: images/store/product/
Manufacturer Media URL: images/store/manufacturer/
Vendor Media URL: images/store/vendor/

And this is the error I get, even with new test product images:

vmError: Couldnt create thumb, file not found /homepages/41/d210098830/htdocs/2018redesign/images/store/product/images/virtuemart/product/cart_logo.jpg

As you can see the error shows that it is searching for this: /images/virtuemart/product/ inside the already changed Media URL   :o

Joomla version, 3.8.6.
VirtueMart 3.2.14

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3714
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: How to change MEDIA URL
« Reply #1 on: April 11, 2018, 02:22:26 am »
If you have already virtuemart medias in the DB, you have to update the old link with a mySql query or manually change all media URLs.


  • Beginner
  • *
  • Posts: 16
Re: How to change MEDIA URL
« Reply #2 on: April 12, 2018, 05:11:48 am »
Thanks so much, that did the trick.  8)

Fortunately I only have a couple a products and categories by now so I changed each table manually from phpMyAdmin

if it helps anyone, just edit each "file_url" from the Tables in "yourprefix_virtuemart_medias"   :)