Best way to get media urls from WPCLI? Or change the media url structure?

[ad_1]

I am working with a lot of images, and I need a way to get the URLs for the images. Ideally, I could use WPCLI for this, but the problem is that I just seem to get the filename back, and not the full url. I need a way to get the full url from WPCLI.

Alternatively, the reason I need this is because the URL format can change based on upload date. If there is a way to make the URL for the media consistent, then just having the image filenames would be enough.

EDIT: I do have custom permalinks set up, but that does not appear to allow me to control the options for the images.

Any help would be appreciated.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer