這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Redirect Unattached Images

描述

The default behavior in WordPress is to generate attachment pages for all of the images in your media library. While this can sometimes be useful, it can also cause problems.

When you upload an image to your media library without inserting it into a post or page, it becomes an unattached image. By default, these images generate attachment pages with no pretty permalink structure. This isn’t very useful for anyone, including search engines.

This plugin takes all of these unattached images and safely redirects them using a 301 redirect to your site’s home page. If you’re using WordPress multisite, it redirects to the current site’s home page. There are no options or settings, just install, activate, and enjoy better SEO and less useless pages on your website!

安裝

The easiest way to install this plugin is to download directly form the WordPress admin panel and active the plugin. Alternatively, you can download it and install it manually by doing the following:

  1. Upload the redirect-unattached-images directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Sit back and relax. You’re done!

常見問題

None yet!

評價

2016年9月3日
Works just fine, this should be a built in feature of wordpress, I can't belive it isn't. Thanks so much to author!
閱讀全部3個評價

貢獻者及開發者

“Redirect Unattached Images” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Redirect Unattached Images 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.1.2

Change of ownership.

0.1.1

Made a minor improvement to the way attachments are checked before being redirected.

0.1.0

Initial release.