विवरण
This simple and lightweight plugin adds a “Hide from search engines” checkbox above the publish box to pages. By
ticking this box, a meta tag will be placed into the <head>
section of your page specifying that robots should
not index the page.
By default this only applies to pages. You may extend this functionality to posts or other custom post types with a small bit of code. See the FAQ’s tab for further instructions.
स्क्रिनसटहरू
स्थापना
- Upload the plugin files to
/wp-content/plugins/noindex-pages/
, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Edit a page, look for the checkbox above the “Publish” or “Update” button near the top-right.
- (Optional) verify it works by viewing your page and then right-click, “View Source”, and look for the meta tag with the name “robots” and value “noindex”.
- (Optional) Extend the functionality to posts or other custom post types by reading the FAQ’s.
प्रश्नोत्तर
- Are there any advanced features, such as to block specific robots or add this code to archive/search pages?
-
No, this is just a simple plugin.
- Can this be used for custom post types or posts?
-
Yes, with a bit of PHP. Just use the following code in your functions.php, which will add support for “post” and “product”:
function noindex_for_cpts( $post_types ) { return $post_types + array( "post", "product" ); } add_filter('noindex-pages-post-types', 'noindex_for_cpts');
समीक्षाहरू
योगदानकर्ता र डेभलपरहरू
“Noindex Pages” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“Noindex Pages” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।
चेन्जलग
1.0.1
- Improved screenshot quality for wordpress.org
- Corrected “Tested up to” version number
- Corrected “Requires at least” version number
1.0.0
- First release
- Pre-release version notes can be found on Github