I have uploaded some pdf documents to the media library of a local site on the development machine.
I noticed that the link in the browser to these pdf’s is http://sitename.local/wp-content/uploads/2021/12/name-of-pdf.pdf.
I am using local for development so if I was to export the website to a hosting provider, are those links still going to work?
Regards,
John
Yes, they will. Local media links will always appear that way in the browser, but they’re stored in the database as relative paths, so will continue to work after you migrate to a new server
Many thanks for the reply.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.