0

After successfully completed data migration, extra slash added on image url if image get from other server.

enter image description here

Note :

If url like this -> magento1.com/media/catalog/product/2/9/29594114-1.jpg instead of magento1.com/media/catalog/product\cache\f2b44f5a43f5823dafd935ad802e62ad/2/9/29594114-1.jpg image visible.

2 Answers 2

1

different server pub media urls

Kindly please refer above screenshot and change this in secure/insecure section by Loggin into Admin => Store => Configuration =>General => Web =>Base URLs(SECURE)/Base URLs both.

6
  • I just want clarity, m1 live m2 windows wamp localhost, is it images sync will work? @Dinesh Rajput
    – zus
    Nov 25, 2019 at 7:13
  • you mean to say your magento 2 is local server and m1 site is live site. The images you want from live site m1 to local site m2 correct ? Nov 25, 2019 at 7:16
  • Exactly,, We need to test before going to live.
    – zus
    Nov 25, 2019 at 7:17
  • No.... This will not work if thats the case because M1 site has skin/frontend path from your m1 site. Nov 25, 2019 at 7:21
  • To make it work, You'll have to set path in admin "m1 site domain.com/media/ Nov 25, 2019 at 7:23
0

You can configure your Magento 1.9 website Media URLs in your Magento 2.3.3 Admin >> Store >> Configuration >> General >> Web >> Base URLs >> Base URL for User Media Files

And Admin >> Store >> Configuration >> General >> Web >> Base URLs (Secure) >> Base URL for User Media Files

Please check the below screenshot for more information.

enter image description here

7
  • any help snipboard.io/dpZgXN.jpg after set m1 image to m2.3.3 image url magento1.com/media/catalog/product\cache\f2b44f5a43f5823dafd935ad802e62ad\/9/2/922198-1.jpg
    – zus
    Nov 25, 2019 at 7:54
  • Are you using any forward slash URLs in anywhere with your Magento 2.3.3? Can you please share the screenshot of your Magento 2.3.3 core_config_data table? Nov 25, 2019 at 8:05
  • @zus - Please runs this SELECT * FROM core_config_data WHERE value LIKE '%localhost%'; query in your Magento 2.3.3 database and share the screenshot with me. Nov 25, 2019 at 8:10
  • screenshot - snipboard.io/PF32EM.jpg @Ashok Dubariya
    – zus
    Nov 25, 2019 at 9:57
  • @zus - Which URLs did you configure for the Base URL for User Media Files? Can you please share the screenshot? Nov 25, 2019 at 10:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.