Linux 软件免费装
Banner图

Rabbit Hole

开发者 nerdsfarm
frapesce
更新时间 2022年7月29日 18:51
PHP版本: 4.9 及以上
WordPress版本: 6.0
版权: GPLv3 or later
版权网址: 版权信息

标签

redirect 404 seo cpt post type allow deny

下载

详情介绍:

Rabbit Hole is a plugin that adds the ability to control what should happen when an entity is being viewed at its own page. Perhaps you have a content type that never should be displayed on its own page, like an image content type that's displayed in a carousel. Rabbit Hole can prevent this object from being accessible on its own page, through p=xxx (or permalink). Options This works by providing multiple options to control what should happen when the entity is being viewed at its own page. You have the ability to This is configurable per post type and per single post type. It's possible to generate dynamic values with Twig or Shortcode for the redirect path. This makes it possible to execute different redirects based on whatever logics you need. Perhaps you want a user to be able to view nodes that he has created, but no one else's. Coming soon

屏幕截图:

  • Admin Global settings on the Settings -> Rabbit Hole.
  • Specify a Redirect rule for a specific Post Type, same options available for Single Post.
  • Settings on Single Post Edit metabox for override global configuration.

常见问题:

Default settings

You can find global configuration in Settings => Rabbit Hole. By default all CPT are predefined as Display page, following the classic WP behavior.

How can I change behavior for a single post

Once you enable the Allow override for single post type you will find the dedicated configuration metabox in post Edit page.

更新日志:

1.0.1 - 2022-07-25