Yes, if they are public pages WordPress will let them be indexed unless you tell it not to.
Try adding this to you function.php
this:
function allow_no_robots() {
global $post;
if ( $post->ID == PAGE_ID_TO_NOT_INDEX ) {
echo '<meta name="robots" content="noindex, nofollow">';
} add_action( 'wp_head', 'allow_no_robots' );
That sould do it.
Related Posts:
- How to get current page ID outside the loop?
- Get the content of a specific page (by ID)
- featured image as background image on pages
- Show Default Editor on Blog Page ( Administration Panel )
- Create pages automatically if they don’t exist
- Can I display submenus in groups, using wp_list_pages?
- Order by menu_order and title?
- WP Page and Subdirectory with same name
- How to redirect on particular page in wordpress? [closed]
- How to inject custom url path for page ?
- Restrict acceess of a page in backend
- How to display page title+link of page created by user
- get_page_by_title not working when used with a variable
- WordPress twenty eleven sidebar on Pages
- Debugging shortcode problems
- How to disable Page Attributes dropdown in wp-admin
- How to show updated edit on preview URL without clicking preview button
- Editing Pages that Have Already Been Published
- How to redirect a page to subdomain?
- Getting child content
- Clean URL link for page without number
- How can I have two content titles?
- Get the Page Content,without generating HTML
- How can I split long posts into pages?
- Slug is redirecting to 404
- Include content from one page to another
- Adminbar Missing “Edit Page”
- conditional tags- how to use with shortcodes
- List all private pages user has access rights to read
- “next page” of parent in infinite loop
- Access the same page from multiple urls (wildcard)
- How to update the counter of private pages in the dashboard?
- Using in-build Visual Composer param types in custom param types
- Google Analytics tracking code on just one page?
- Layout Builder.
- Edit custom HTML page from WP admin dashboard
- Pass data from one page to anothe file/page in wordpress
- Get the Current Page Slug-Name
- Display child pages in a parent page? [closed]
- How to use is_admin in page content?
- Why isn’t WordPress respecting my HTML?
- From a developer’s point of view what are the differences between pages and posts? [closed]
- block a page from logged out users and redirect to homepage
- Edit page shown after login in WordPress?
- Disable ADD PDF media button on rich text editor
- invalid argument in foreach when trying to list custom post types in archive.php
- WordPress page not taking precedence over server directory
- How to properly enable comments form in page template
- Displaying direct children of other pages on homepage
- How to bypass 404 for certain pages/posts?
- Displaying Current Page Number Conditionally
- Multiple Loops That Pull Pages (Child/Grandchild) While Styling the First Entry
- trying to add a author value in wp page links?
- Check if has pages?
- page template – undefined structure in source code
- How to show page title with capitalization only as I typed in?
- Create custom page to author.php
- Make Audio Element Persistent Across Pages
- My site does not load but downloads a file (wordpress)
- what does the symbol “?” mean and how can i edit that page?
- Show children connected to parent pages
- How to get an array of pages ID by some page’s slug and all its children pages in get_posts() function?
- Restrict specific private page to a specific user
- Display latest comments (global) with replies on a page
- Set different heights per screen size with inline styles CSS into the ‘Text’ section of a Page
- Editing Pages Icons Are Not Showing Up – Why is this happening?
- Some pages can’t be updated – post_content field not updating
- How to add custom php file to right sidebar?
- Cannot pull WYSIWYG content
- How to approach need for virtual page on my WP site?
- How can I change the background color of a contact box? [closed]
- Press This for Page
- Supress listing of virtual pages
- How to limit the pages shown in the page manager to those created by the logged in user?
- Is it better to set social media sharer in entry-footer.php or comments.php in WordPress blog?
- Get All Pages as strings in array
- Attach link to pages accoding to tags
- How to end the Page Load Event and load after that?
- How can I add a new page in the pages tab that belongs to specific theme?
- New page has incorrect URL
- Issue with page not erasing
- My page won’t publish
- Separate Editing from Publishing for pages
- Call a function on every wordpress pages only
- Echo page path suffix only – not the title, path or permalink
- Why does the default Insert/edit link function in Visual mode in posts or pages produce full urls?
- Programatically create multiple pages by passing in array of info
- Custom admin menu for a selection of pages
- how to print the content of pages inside the front end area
- How do I make just one of my pages a Blog Page?
- Showing certain page without redirection
- How to add or remove metabox each page separately?
- Retrieve page content and pass to PHP?
- How to make in post Parent page children page list nummbered
- Get moderation notifications on one post only
- Advanced Multi Tier Navigation across columns
- How To Display Pages Based On Subscriber Signup Date
- How to preview a page instead of a category?
- In WP, Google map error initMap is not a function [closed]
- WordPress is picking up links that don’t exist