Confluence 5.1 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
This page describes how to create a link in your Confluence page to another page.
You can create links on your page to:
- Other pages in the Confluence site.
- Web pages outside of Confluence.
- Anchors or headings, on the same page or other pages.
You can also create a link to a non-existent Confluence page.
You can use the following methods to create links:
- Autocomplete - to link to Confluence pages or a non-existent page.
- The 'Insert Link' dialog - to link to Confluence pages and web pages.
- Cutting and pasting a link from your browser - to link to Confluence pages and web pages.
Linking to Confluence pages
Adding a link using autocomplete
You can use autocomplete to create a link to any page in the Confluence site, if you know the name of the page you want to link to.
Adding a link using the Insert Link dialog
To create a new link using the 'Insert Link' dialog:
- While editing the page, place your cursor at the point where you want to create the link, or highlight the text that you want linked.
- Click Link in the toolbar, or press Ctrl+K. See keyboard shortcuts for more information.
- Choose one of the tabs on the left to help you find the page or other location that you want to link to:
- Search– Use this option to link to a page or file in Confluence.
- Start typing the page name into the text box. Confluence will suggest options as you type.
- If necessary, limit the search to the current space.
- Select your link destination from the autocomplete results, or click Search and select the link destination from the search results.
- Recently Viewed– Use this option to link to a page in Confluence.
- Select your link destination from recently-visited pages.
- Search– Use this option to link to a page or file in Confluence.
- Enter link text that will be displayed on the page, if required. If you have not highlighted text in the page, and leave the 'Link Text' text box empty, the link will display the destination page name or URL.
- Click Insert.
Copying and pasting a link from your web browser
To paste a link from your web browser:
- In your web browser, select and copy the title of a Confluence page.
- Edit your Confluence page and paste the title where you want the link to appear.
Linking to web pages
Use the 'Insert Link' dialog to link to an external web page.
To create a link to a web page:
- While editing the page, place your cursor at the point where you want to create the link, or highlight the text that you want linked.
- Click Link in the toolbar, or press Ctrl+K. See keyboard shortcuts for more information.
- Click Web Link and enter or paste the web address into the URL text box.
- Enter link text that will be displayed on the page if required. If you have not highlighted text in the page, and leave the 'Link Text' text box empty, the link will display the destination page name or URL.
- Click Insert.
You can also simply copy and paste a link to a web page into your Confluence page, as described above.
アンカーにリンクする
You can link to a specific location within a page, by marking that location with an Anchor macro and then linking to the anchor name.
- A link on the same page as the anchor
- Another page in the same space
- A page in another space of the same Confluence site.
- 別の Web ページまたは別の Confluence サイト (専用形式の URL を使用)。
同じ Confluence サイト内からアンカーにリンクするには、次の操作を実行します。
- リンクを配置するページを編集します。
- エディタのツールバーで [リンク] を選択するか、[Ctrl+K] を押します。
[詳細] を選択し、[リンク] ボックスにアンカー名を入力します。ただし、次の点に注意してください。
- アンカー名は大文字と小文字が区別されます。アンカー マクロの作成時に使用したパターンと同じ組み合わせで大文字と小文字を使用する必要があります。
次の構文を使用します。
アンカーの場所
アンカーのリンク構文
例 同じページ
#anchorname#bottom
#important information
異なるページ
pagename#anchornameMy page#bottom
My page#important information
別のスペース内のページ
spacekey:pagename#anchornameDOCS:My page#bottom
DOCS:My page#important information
- 必要に応じて、ページに表示されるリンク テキスト (エイリアス) を入力します。[リンク テキスト] ボックスを空のままにすると、リンク先のページ名または URL が表示されます。
- [挿入] を選択します。
別の Web ページまたは別の Confluence サイトからアンカーにリンクするには:
次の形式で完全な URL を使用します。
リンク構文 | 例 |
|---|---|
| http://myconfluence.com/display/DOCS/My+page#Mypage-bottom http://myconfluence.com/display/DOCS/My+page#Mypage-importantinformation |
完全な URL に関するメモ
- ページ名は、URL 内で # 記号の後に反復されます。2回目のページ名は、すべてのスペースが削除されて単語になります。
- 連結されたページ名とアンカー名の間にシングルダッシュ (ハイフン) があります。
- 完全な URL でのアンカー名は、すべてのスペースが削除されて単語になります。
- アンカー名は大文字と小文字が区別されます。アンカー マクロの作成時に使用したパターンと同じ組み合わせで大文字と小文字を使用する必要があります。
Linking to a heading
You can link to a heading that is on the same page, on another page in the same space, or on a page in another space of the same Confluence site.
To link to a heading:
- Edit the page where you want to put the link.
- Choose Link in the toolbar, or press Ctrl+K.
Choose Advanced and enter the heading into the Link box, noting the following:
- The
headingnameis case-sensitive and must be entered without spaces. 次の構文を使用します。
Heading location
Link syntax for heading
同じページ
#headingname異なるページ
pagename#headingname別のスペース内のページ
spacekey:pagename#headingname
- The
- Enter link text that will be displayed on the page, if required. If you leave the Link Text box empty, the link will display the destination page name or URL.
- [挿入] を選択します。
Linking to an undefined Confluence page
You may want to insert a link pointing to a Confluence page that does not yet exist, but which you intend to create later. This type of link is called an undefined link. To add an undefined link for later creation of a page: When you save the page, Confluence colours the undefined link red. When someone clicks the link, the new page opens in edit mode. That person can then enter the page name, add content and save the page, as usual.
Using a shortcut link
If you have configured shortcut links on your Confluence site, then you can link to an external site using a shortcut link that looks like this: CONF-17025@jira. Our Confluence site (where this documentation is housed) is configured to allow shortcut links to our JIRA site, using the shortcut @jira. So the shortcut link CONF-17025@jira produces this link.
「リンクの挿入」ダイアログを使用してショートカット リンクを追加するには:
- Click Link in the toolbar, or press Ctrl+K. See keyboard shortcuts for more information.
- Click Advanced and enter or paste the shortcut link into the Link box. Shortcut links are case-insensitive.
- Enter link text that will be displayed on the page, if required. If you leave the Link Text box empty, the link will display the destination page name or URL.
- Click Insert.
You can also type '[' and choose Insert Web Link > Advanced to enter a shortcut link.
See Configuring Shortcut Links for more details.
