Title: Question: insert link to unknown document
Last modified: December 14, 2022

---

# Question: insert link to unknown document

 *  Resolved [slast](https://wordpress.org/support/users/slast/)
 * (@slast)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/question-insert-link-to-unknown-document/)
 * I would like to put a link in a text block to an external document but the only
   way seems to require me to know at least a part of the document name (URL). Is
   there a way to have the insert link (Ctrl K) button bring up a list of documents
   in the media library so that I can select the right one visually from the information
   shown in the list?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/question-insert-link-to-unknown-document/#post-16290186)
 * Hi there, you can paste in any URL you like into the link field, you aren’t restricted
   to your existing pages and posts. So I’d suggest you copy out your document link
   from your Media Library and then paste it in the link box.
 * In the Media Library, there’s an option to copy the file’s URL by clicking a 
   button. Here’s a screenshot:
 * [⌊Edit Media Self hosted Test WordPress⌉⌊Edit Media Self hosted Test WordPress⌉[
 * Then paste the URL into the link box, as explained here:
 * [https://wordpress.org/support/article/paragraph-block/#insert-hyperlinks](https://wordpress.org/support/article/paragraph-block/#insert-hyperlinks)
 * > If you already have the URL of the website you want to link to in the clipboard,
   > highlight the text, you want to make into a link and use CTRL + V to add the
   > hyperlink to the text.
 * That said, if you have given your media items descriptive filenames (i.e. `my-
   lovely-dog-tessa.jpg`, the link search box should find it if you put a word in
   the filename in the search box; I just tested this on my end. You can separate
   words with dashes in your filenames to make them more searchable.
 * Let me know how it goes!
    -  This reply was modified 3 years, 6 months ago by [Kathryn Presner](https://wordpress.org/support/users/zoonini/).
      Reason: fixed blockquote formatting
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/question-insert-link-to-unknown-document/#post-16290193)
 * And just to be clear:
 * > Is there a way to have the insert link (Ctrl K) button bring up a list of documents
   > in the media library so that I can select the right one visually from the information
   > shown in the list?
 * No, I don’t think so. The search box does require you to input some text.
 *  Thread Starter [slast](https://wordpress.org/support/users/slast/)
 * (@slast)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/question-insert-link-to-unknown-document/#post-16292299)
 * OK thanks.
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/question-insert-link-to-unknown-document/#post-16293149)
 * You’re very welcome!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Question: insert link to unknown document’ is closed to new replies.

 * ![](https://ps.w.org/gutenberg/assets/icon-256x256.jpg?rev=1776042)
 * [Gutenberg](https://wordpress.org/plugins/gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutenberg/reviews/)

## Tags

 * [link](https://wordpress.org/support/topic-tag/link/)
 * [media](https://wordpress.org/support/topic-tag/media/)

 * 4 replies
 * 2 participants
 * Last reply from: [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/question-insert-link-to-unknown-document/#post-16293149)
 * Status: resolved