You can import PDF files using either external URLs or server file paths.
For each file you must provide:
- a label (for example the file name shown to users)
- a URL or server path pointing to the PDF file
Import format
URL1|Label1,URL2|Label2,URL3|Label3Rules
- URL and label must be separated using the | character
- Each file entry must be separated using a comma ,
- Do not use quotation marks
- URLs must point directly to PDF files and must be publicly accessible
- Server paths must be readable within your WordPress environment
- Labels can contain spaces
Example
https://example.com/file1.pdf|Product Manual,/wp-content/uploads/specs.pdf|Technical SpecificationServer path requirements
For best compatibility use absolute server paths (for example /home/user/public_html/wp-content/uploads/file.pdf)
Relative paths may work depending on server configuration, but are not guaranteed.
If file_get_contents() or allow_url_fopen is restricted on your server, importing from URLs or server paths may not work.
Example
https://example.com/file1.pdf|Product Manual,/home/user/public_html/wp-content/uploads/specs.pdf|Technical Specification