Image
Image

Linkable

설명

Linkable is a lightweight WordPress plugin that automates internal linking by converting defined keywords into links to selected posts or pages.

Core functionality:
* Automatically links keywords to chosen posts or pages
* Works on singular posts and pages by filtering the_content at priority 20
* Searches for keyword matches inside <p>, <li>, <b>, <em>, and <i> tags
* Skips self-links by excluding the current post from the keyword map
* Uses the Yoast SEO title for link tooltips when Yoast is active, otherwise falls back to the WordPress title
* Preserves existing <a> tags and shortcodes by backing them up before processing and restoring them afterward

Keyword management:
* Keywords are stored per post and per page as JSON in the linkable_tags post meta field
* linkable_tags is registered with REST support, sanitized via sanitize_text_field, and restricted to users with edit_posts

Settings:
* Accessible via Settings Linkable
* max_links_per_target: limits how many times the same target can be linked from one post (default 1)
* first_occurrence_only: when enabled, each keyword is linked only once per post

Performance:
* Builds a global keyword map from all published posts and pages with linkable_tags
* Caches the keyword map with a transient (global_linkable_tag_map) for one hour
* Query optimized to fetch only IDs and avoid unnecessary meta/term caching

Editor compatibility:
* Works with both the block editor and the classic editor
* Enqueues an admin sidebar panel script (static/js/admin-sidebar-panel.js) with WordPress dependencies and versioning via filemtime

Security:
* URLs are properly escaped with esc_url
* Link titles are sanitized and HTML-escaped
* Meta registration includes capability and sanitization checks

License

This plugin is licensed under the GPLv2 or later.

설치

  1. Upload the plugin to the /wp-content/plugins/ directory or install via WordPress admin
  2. Activate the plugin
  3. Go to any post or page and add keywords in the Linkable panel (in the sidebar)
  4. Configure plugin settings under Settings > Linkable

FAQ

Does it support custom post types?

Not yet, but it’s on the roadmap.

Does it work with shortcodes and existing links?

Yes – existing links and shortcodes are safely ignored during replacement.

Does it slow down my site?

No – it uses transients and in-memory caching to keep things fast.

후기

Image
2025년 8월 27일 답글 1개
I’ve tried different ways to manage internal links, but most solutions are either too heavy or too complicated. Linkable just works. You add your keywords, point them to the right page, and the plugin automatically takes care of the rest. Super simple, lightweight, and a real time-saver if you want to keep your internal link structure consistent. Great for SEO and content sites where manual linking quickly becomes a pain.
모든 3 평가 읽기

기여자 & 개발자

“Linkable”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Linkable”(이)가 1 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Linkable”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.0

  • First public release
  • Internal linking based on keywords
  • Settings page with basic controls